SettingsActivity: Define preferenceTheme for AppCompat
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
e7e571a301
commit
4fc1e61a83
@ -35,6 +35,7 @@
|
|||||||
<activity
|
<activity
|
||||||
android:name=".activity.SettingsActivity"
|
android:name=".activity.SettingsActivity"
|
||||||
android:label="@string/settings"
|
android:label="@string/settings"
|
||||||
|
android:theme="@style/SettingsTheme"
|
||||||
android:parentActivityName=".activity.MainActivity" />
|
android:parentActivityName=".activity.MainActivity" />
|
||||||
|
|
||||||
<activity
|
<activity
|
||||||
|
@ -2,6 +2,9 @@
|
|||||||
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
|
||||||
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar" />
|
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar" />
|
||||||
|
<style name="SettingsTheme" parent="AppTheme">
|
||||||
|
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
|
||||||
|
</style>
|
||||||
<style name="fab_label" parent="android:TextAppearance.DeviceDefault.Inverse">
|
<style name="fab_label" parent="android:TextAppearance.DeviceDefault.Inverse">
|
||||||
<item name="android:background">@drawable/fab_label_background</item>
|
<item name="android:background">@drawable/fab_label_background</item>
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user