Hi, Its not working in java code. Its working when put theme in manifest only. In 1.1 SDK, i used setTheme() and it worked perfectly, but now its not working.
http://code.google.com/p/android/issues/detail?id=4394 http://code.google.com/p/android/issues/detail?id=3793 On Dec 7, 8:07 am, kirti kaul <kirti.k...@wipro.com> wrote: > Thanks,Have u tried it?I mean are you able to change the theme on > runtime?I mean dynamically in the emulator? > > On Dec 4, 6:06 pm, Nithin <nithin.war...@gmail.com> wrote: > > > Hi, > > > We candynamicallyset using setTheme(). The constant you need to put > > is android.R.style.Theme_XXXXX > > > Thanks > > > On Dec 4, 5:24 pm, kirti kaul <kirti.k...@wipro.com> wrote: > > > > Hi, > > > > My query is regarding on whether we canapplydynamicallythemesin > > > android,like what we do with our phones in which we can select a theme > > > and the same theme gets applied all across the phone.Is there a way to > > > do this in android ???? > > > > (I am able to change the default theme by hardcoding in the code > > > (styles.xml),but I need to know how we can we setthemesdynamically. > > > I saw the Android phone,but there is no Setting where we can set the > > > Theme.) > > > > Any help will be appreciated!!! > > > > Thanks, > > > Kirti- Hide quoted text - > > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en