diff --git a/Android.bp b/Android.bp index 604eb60..3225144 100644 --- a/Android.bp +++ b/Android.bp @@ -81,6 +81,7 @@ android_app { "com.android.vcard", "guava", "libphonenumber", + "com.google.android.material_material", ], aaptflags: [ diff --git a/res/layout/preference_material_switch.xml b/res/layout/preference_material_switch.xml new file mode 100644 index 0000000..6600fca --- /dev/null +++ b/res/layout/preference_material_switch.xml @@ -0,0 +1,14 @@ + + + diff --git a/res/values/styles.xml b/res/values/styles.xml index 3f9df48..0cf841b 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -35,6 +35,7 @@ @color/text_highlight_color @style/BugleActionBar @style/AlertDialogTheme + @style/AppPreferenceThemeOverlay + + + + + diff --git a/res/xml/preferences_application.xml b/res/xml/preferences_application.xml index 323fce3..6b859b8 100644 --- a/res/xml/preferences_application.xml +++ b/res/xml/preferences_application.xml @@ -37,7 +37,7 @@ - - - - -