[android-developers] Re: Toggle button with more states that two

2011-03-14 Thread Duskox
Thanks for your suggestions. What I want to do is a button that will have an off state and then a repeat all state and repeat single state. Like in any mp3 player where you can loop the whole playlist, single song or no loop. I'll check spinner out and then if that is not what I want go to create

[android-developers] Re: Toggle button with more states that two

2011-03-10 Thread mort
I think this would also break the user experience. Better use a spinner. You can show different "foreground" images if you use proper layouts and adapter. For both button and spinner you could simply set a new button background when the item has changed, i.e. in the OnClick- or OnItemSelectedListen