Changing theme in runtime

Put your problem here if it does not fit any of the other categories.

Changing theme in runtime

Postby cadlg » Tue Apr 08, 2008 2:06 am

Hello friends.

Do you know if it's possible to change the theme of an activity more than once ?
I know that the theme can be set by code, but as far as I know it must be done before the call to setContentView, so my question is if after calling setContentView is there a way to change the theme again... for example, when the user presses a button.

Thanks in advance.

cadlg
cadlg
Experienced Developer
Experienced Developer
 
Posts: 84
Joined: Wed Feb 20, 2008 12:33 am
Location: Guatemala

Top

Postby cadlg » Tue Apr 08, 2008 6:00 pm

Hello friends.

Do you know if it's possible to change the theme of an activity more than once ?
I know that the theme can be set by code, but as far as I know it must be done before the call to setContentView, so my question is if after calling setContentView is there a way to change the theme again... for example, when the user presses a button.

Thanks in advance.

:shock: does this silence mean that this is not possible ? or does it mean that nobody saw this post... :lol:

cadlg
cadlg
Experienced Developer
Experienced Developer
 
Posts: 84
Joined: Wed Feb 20, 2008 12:33 am
Location: Guatemala

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 19 guests