Android Question Themes shows not the same on differenet activitys

mrossen

Active Member
Licensed User
Longtime User
I am using AHPreferenceActivity.

I have set my own theme and that Works perfect. But when I goes to the preferenceActivity the app shows the standard holo.light themes.

Anyone knows to fix that

Code: Copy
AddApplicationText(<activity android:name="de.amberhome.objects.preferenceactivity"/>)
SetApplicationAttribute(android:theme, "@style/Theme.Lptheme")

Mogens
 
Make the 'android:theme' attribute part of the text passed to the AddApplicationText method:

Code: Copy
AddApplicationText(<activity android:name="de.amberhome.objects.preferenceactivity"
android:theme="@style/Theme.Lptheme" />)
 
Upvote 0
Back
Top