mrossen Active Member Licensed User Longtime User Apr 13, 2015 #1 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 B4X: AddApplicationText(<activity android:name="de.amberhome.objects.preferenceactivity"/>) SetApplicationAttribute(android:theme, "@style/Theme.Lptheme") Mogens
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 B4X: AddApplicationText(<activity android:name="de.amberhome.objects.preferenceactivity"/>) SetApplicationAttribute(android:theme, "@style/Theme.Lptheme") Mogens
warwound Expert Licensed User Longtime User Apr 13, 2015 #2 Make the 'android:theme' attribute part of the text passed to the AddApplicationText method: B4X: AddApplicationText(<activity android:name="de.amberhome.objects.preferenceactivity" android:theme="@style/Theme.Lptheme" />) Upvote 0
Make the 'android:theme' attribute part of the text passed to the AddApplicationText method: B4X: AddApplicationText(<activity android:name="de.amberhome.objects.preferenceactivity" android:theme="@style/Theme.Lptheme" />)