Hello. I'm making an app, in which there are two buttons. In the default layout, Button 1 is visible. Pressing button 1 makes button 1 disappear and makes button 2 appear. Pressing button 2 makes button 2 disappear and makes button 1 appear....and so forth.
The problem I'm having is that when the phone is rotated, button 1 reappears (The default layout is loaded again) and that basically breaks my app, as it's a radio player and it then has a play button and no stop button. I could do this all with the one button, but I'd rather learn how to handle this scenario anyway. So basically, how can I maintain the current view (ie. what is visible and invisible) on an orientation change? Thanks. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en