summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
Diffstat (limited to 'res/values')
-rw-r--r--res/values/overlayable.xml1
-rw-r--r--res/values/styles.xml6
-rw-r--r--res/values/themes.xml1
3 files changed, 8 insertions, 0 deletions
diff --git a/res/values/overlayable.xml b/res/values/overlayable.xml
index f9de356e..9eae4c1a 100644
--- a/res/values/overlayable.xml
+++ b/res/values/overlayable.xml
@@ -49,6 +49,7 @@
<item type="style" name="PermissionReviewTitleMessage" />
<item type="style" name="PermissionReviewSettings" />
+ <item type="style" name="PermissionReviewSwitchStyle" />
<item type="style" name="PermissionReviewButtonBar" />
<item type="style" name="PermissionReviewButtonBarSpace" />
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 619b521a..abd8a84a 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -144,6 +144,12 @@
<item name="android:layout_marginEnd">8dp</item>
</style>
+ <style name="PermissionReviewSwitchStyle"
+ parent="@android:style/Widget.Material.CompoundButton.Switch">
+ <item name="android:minWidth">48dp</item>
+ <item name="android:minHeight">48dp</item>
+ </style>
+
<style name="PermissionReviewButtonBar">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
diff --git a/res/values/themes.xml b/res/values/themes.xml
index dcf30c19..a64d7d34 100644
--- a/res/values/themes.xml
+++ b/res/values/themes.xml
@@ -38,6 +38,7 @@
parent="@android:style/Theme.DeviceDefault.Settings">
<item name="android:windowActionBar">false</item>
<item name="android:windowNoTitle">true</item>
+ <item name="android:switchStyle">@style/PermissionReviewSwitchStyle</item>
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
</style>