Applying a Theme to your Application

Basic Tutorials concerning: GUI, Views, Activites, XML, Layouts, Intents, ...

Re: Applying a Theme to your Application

Postby norro » Mon Sep 12, 2011 2:34 am

I have the same problem ^^ i want to change theme by runtime changing all activities... when i press a button to "Day theme" and when i press a button to a "night theme" . I created two themes in styles.xml but when in my activity when i do if(...) { setTheme(R.styles.Theme); else {...} it´s doesn't work.
Can anyone help me ?
norro
Freshman
Freshman
 
Posts: 2
Joined: Mon Sep 12, 2011 2:27 am

Top
Previous

Return to Novice Tutorials

Who is online

Users browsing this forum: No registered users and 12 guests