diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2018-04-29 02:11:09 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2018-04-30 17:30:24 +0530 |
commit | 4fc1e61a83da771e484fa2ea4755da49e013e0fc (patch) | |
tree | 7acde60ddc230f3a931253f8741a0b826f59fc68 /app/src/main | |
parent | e7e571a301dbb5eb2a590a7e20f75df7c72d410c (diff) |
SettingsActivity: Define preferenceTheme for AppCompat
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/AndroidManifest.xml | 1 | ||||
-rw-r--r-- | app/src/main/res/values/styles.xml | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 48fc0763..2496e6be 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -35,6 +35,7 @@ <activity android:name=".activity.SettingsActivity" android:label="@string/settings" + android:theme="@style/SettingsTheme" android:parentActivityName=".activity.MainActivity" /> <activity diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index f70c31bd..4ee6eaa4 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -2,6 +2,9 @@ <resources xmlns:android="http://schemas.android.com/apk/res/android"> <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"> <item name="android:background">@drawable/fab_label_background</item> </style> |