Button to change text on background
<p>Hello all im fairly new to this and may need some assistance, this is very simple, </p>

<p>what do i need to add to this code</p>

<pre><code>   public class main extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);

    TextView tv2 = (TextView) findViewById(R.id.textView2);
    Button b = (Button) findViewById(R.id.button1);

    b.setOnClickListener(new OnClickListener() {
           @Override
           public void onClick(View v) {
               TextView tx = (TextView) findViewById(R.id.textView2);
               tx.setText("Hello");
           }
    });
    }
    }
</code></pre>

<p>to make it so when the button is pressed it changes the text view to a random string in my strings.xml list
if i labelled the strings, string1 ,string2, etc.</p>
