I wrote a simple little Activity to test some of the API features. All it has is a radio button group that has 2 choices. These are the 2 supplied themes. It also has an EditText to accept a URL to browse to with a go button.
Two things are happening that I don't seem to understand.
1) When I capture that the user has clicked on the radio button group to change the theme, I call setTheme(new theme) in my OnClickListener, but nothing happens. If I save the change to the theme to a preferences file, and then use the stored theme when I start up the Activity, it works fine. So, the question is: At what point in the life cycle of an Activity should you be able to change the theme? It seems that only during onCreate() works right now.
2) The "Go" button to launch the browser starts out disabled, and when the user enters something in the EditText field, my OnKey listener attempts to enable the "Go" button if the URL length is greater than 1. But the button facade doesn't seem to change until some other activity happens on the view. Shouldn't I be able to change the enabled status of a control at any point based upon my business logic?





I only have the weekend to play with Android... 
