MotoActions: use simple style for gestures menu
authorErfan Abdi <erfangplus@gmail.com>
Sat, 28 Jul 2018 13:04:06 +0000 (17:34 +0430)
committerNolen Johnson <johnsonnolen@gmail.com>
Tue, 5 Jan 2021 20:19:02 +0000 (21:19 +0100)
Change-Id: I7f2d8d26dc1c03d67b05d6767b65f3dd7a464c88
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
MotoActions/res/values/styles.xml

index 0b875b337104648bec24a6a594ec4f2ae0060b18..06b8fbc530e0be59ae939f2030deb72d7f76f360 100644 (file)
 -->
 <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
     <style name="MotoActions" parent="@android:style/Theme.DeviceDefault.Settings">
-        <item name="preferenceCategoryStyle">@style/SettingsTheme.PreferenceCategoryStyle</item>
-        <item name="preferenceTheme">@style/SettingsTheme.Preference</item>
-        <item name="switchPreferenceStyle">@style/SettingsTheme.SwitchPreferenceStyle</item>
+        <item name="preferenceTheme">@style/SettingsPreference</item>
     </style>
 
-    <style name="SettingsTheme.PreferenceCategoryStyle" parent="@*android:style/Preference.DeviceDefault.Category">
-        <item name="allowDividerAbove">true</item>
-        <item name="allowDividerBelow">true</item>
-        <item name="android:layout">@layout/preference_category_material_settings</item>
-    </style>
-
-    <style name="SettingsTheme.Preference" parent="@android:style/Theme.DeviceDefault.Settings">
-        <item name="allowDividerAbove">false</item>
-        <item name="allowDividerBelow">true</item>
-        <item name="singleLineTitle">false</item>
-    </style>
-
-    <style name="SettingsTheme.SwitchPreferenceStyle" parent="@*android:style/Preference.DeviceDefault">
+    <!-- Preferences -->
+    <style name="SettingsPreference">
         <item name="allowDividerAbove">false</item>
         <item name="allowDividerBelow">false</item>
         <item name="singleLineTitle">false</item>
-        <item name="widgetLayout">@*android:layout/preference_widget_switch</item>
-        <item name="android:layout">@layout/preference_material_settings</item>
     </style>
 </resources>