my first application android
<p>hello i try to use simple application in android but i have many problems ; </p>

<p>i need when i click in button text change in "hh";</p>

<p>my main.xml </p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical" &gt;


    &lt;Button
        android:id="@+id/button1"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="Button" /&gt;

&lt;/LinearLayout&gt;
</code></pre>

<p>my class</p>

<pre><code>package com.my.Hello;



import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;

public class HelloActivity extends Activity{
    Button button;

    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        button = (Button)findViewById(R.id.button1);
        button.setText("hh");
        button.setOnClickListener(new View.OnClickListener()
        {
        public void onClick(View v)
        {
            button.setText("hh");
        }
        });

        setContentView(R.layout.main);
    }

    }
</code></pre>

<p>i have good resultat in UI but when i click in button not thing happen ? </p>
