Thanks a lot...
Regards,
nisha


zanky wrote:Not to revive an old thread, but I have a quick question that I don't think was really covered here.
How to create/set a theme for the entire phone. Meaning, changing the entire look of the home screen, the menus, the applications menu... Not just different color, but different UI as well.
I've looked on Google's sites, but can't seem to find much. It all seems to talk about themes on the application level, not system.
Ideas?
Z








SeraphimSerapis wrote:I know this is an old topic, but I do have a problem regarding applying themes.
I let the user pick a theme in my application and apply it the way presented by plusminus.
When I set the Black Theme everything works great, but when I apply the Light Theme only the font colour changes.
The left screenshot is the Light Theme, the right one the Black Theme.
Regards,
Tim


<style name="My_Theme_Activity" parent="@android:style/Theme">
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowIsTranslucent">true</item>
</style>
protected void onCreate(Bundle savedInstanceState) {
//setTheme(R.style.My_Theme_Activity); // <-- This doesn't work
setTheme(android.R.style.Theme_Light); // <-- This works
super.onCreate(savedInstanceState);
}



Users browsing this forum: Google [Bot] and 1 guest