Re: [android-developers] Re: Change Button Function and name when clicked

2011-04-12 Thread Marcin Orlowski
Depends on what you really need it for. Toggle is rather on/off type. if you want to execute different actions it would be normal button with some if() in you onClickListener to determine which action shall be called for this button (and this shall depend on internal state of your app). Something l

[android-developers] Re: Change Button Function and name when clicked

2011-04-12 Thread Gabriel
it would be the Toggle Button? On 12 abr, 11:02, Marcin Orlowski wrote: > If by "name" you mean label, then yes. As for different function - handle > this in your code, no big deal. > > PS:http://developer.android.com/resources/tutorials/views/hello-formstuf... > > Regards, > Marcin Orlowski > >