I am almost certain that's your problem. addPreferencesFromResource() should not be used with the new style preference activity.
I was successful creating a single PreferenceActivity that does the right thing on both Honeycomb and pre-Honeycomb. It's very non- trivial, though, as I have a complex strructure with 3 levels deep nested preferences. On Apr 26, 10:46 pm, Zsolt Vasvari <zvasv...@gmail.com> wrote: > > I'm sure you mean the Honeycomb resources with the SDK, and not the > > Honeycomb source code... ummm, right? :-) > > Right. > > > I am using android:targetSdkVersion="11". I am not manually specifying > > a theme anywhere in the app, which normally means everything uses the > > same theme, which in this case is Theme.Holo. > > I believe the presence on onBuildHeaders() triggers the new style of > preference activity. I don't remember if that causes Holo to be > enabled for that activity, but it might. -- 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