Hi,
How do I change the text on a button at run-time?  This code doesn't
appear to do anything, what am I doing wrong:

 Button button1=(Button)findViewById(R.id.button1);
        button1.setText("Change text");

Thanks,
Bob

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to