Before I report this as a bug, has anyone been able to set a theme in
1.5?  What worked in 1.1 no longer does in 1.5 for setting themes.
For example the following:

 protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    ...
    setTheme(android.R.style.Theme_Light);
    setContentView(R.layout.linear_layout_3);
}

doesn't seem to work unless you move the setTheme before
super.onCreate like this:

 protected void onCreate(Bundle savedInstanceState) {
    setTheme(android.R.style.Theme_Light);
    super.onCreate(savedInstanceState);
    ...
    setContentView(R.layout.linear_layout_3);
}

Is this the way themes have to be set or is it a 1.5 bug?
--~--~---------~--~----~------------~-------~--~----~
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