I can't help you off-hand with the problem, but for what it's worth preferences really aren't intended to be used with a dialog theme. Actually I would stay away from the dialog theme for all but very simple things (like alerts), since the border takes so much space away from your UI.
Of course in general I don't like dialogs. :) On Sun, Jan 25, 2009 at 4:37 AM, Stoyan Damov <stoyan.da...@gmail.com>wrote: > > +1 - I'm experiencing the same thing here. The PreferenceScreen is > drawn with the black theme. BTW, preferences with the dialog theme act > weird when scrolled (parts of the preferences are drawn on black > background black while scrolling) but I think I can fix that - someone > mentioned about cacheColor or something like that... > > On Sun, Jan 25, 2009 at 12:21 PM, android_soft <cspeche...@gmail.com> > wrote: > > > > Hi All, > > I have a PreferenceActivity defined in the manifest with > > android:theme="@android:style/Theme.Dialog. The theme works well with > > the first settings screen, but > > not with the child PreferenceScreen elements (if I have several > > screens in my preferences). The child screens have the default Theme > > applied in this case. > > > > If the theme is changed to Theme.Light or the default, it works well > > for all the screens(parent and children included) > > > > Is there a way to apply the theme to the children, or is this a BUG ? > > > > Thanks > > Chander > > > > > > > > > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---