Loading app/src/main/res/layouts/mastodon/layout/preference_switch_material.xml 0 → 100644 +5 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <com.google.android.material.materialswitch.MaterialSwitch xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/switchWidget" android:layout_width="match_parent" android:layout_height="wrap_content" /> app/src/main/res/values-night/themes.xml +1 −0 Original line number Diff line number Diff line Loading @@ -85,6 +85,7 @@ <item name="android:windowLightNavigationBar" tools:targetApi="o_mr1">false</item> <item name="android:isLightTheme" tools:targetApi="q">false</item> <item name="alertDialogTheme">@style/AppThemeAlertDialog</item> <item name="preferenceTheme">@style/AppPreferenceThemeOverlay</item> </style> Loading app/src/main/res/values/themes.xml +8 −0 Original line number Diff line number Diff line Loading @@ -84,6 +84,7 @@ <item name="android:isLightTheme" tools:targetApi="q">true</item> <item name="android:statusBarColor">?android:colorBackground</item> <item name="alertDialogTheme">@style/AppThemeAlertDialog</item> <item name="preferenceTheme">@style/AppPreferenceThemeOverlay</item> </style> <style name="Transparent" parent="AppThemeBar"> Loading Loading @@ -277,4 +278,11 @@ <item name="cornerSize">6dp</item> </style> <style name="AppPreferenceThemeOverlay" parent="PreferenceThemeOverlay"> <item name="switchPreferenceCompatStyle">@style/AppSwitchPreferenceCompatStyle</item> </style> <style name="AppSwitchPreferenceCompatStyle" parent="@style/Preference.SwitchPreferenceCompat.Material"> <item name="widgetLayout">@layout/preference_switch_material</item> </style> </resources> Loading
app/src/main/res/layouts/mastodon/layout/preference_switch_material.xml 0 → 100644 +5 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <com.google.android.material.materialswitch.MaterialSwitch xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/switchWidget" android:layout_width="match_parent" android:layout_height="wrap_content" />
app/src/main/res/values-night/themes.xml +1 −0 Original line number Diff line number Diff line Loading @@ -85,6 +85,7 @@ <item name="android:windowLightNavigationBar" tools:targetApi="o_mr1">false</item> <item name="android:isLightTheme" tools:targetApi="q">false</item> <item name="alertDialogTheme">@style/AppThemeAlertDialog</item> <item name="preferenceTheme">@style/AppPreferenceThemeOverlay</item> </style> Loading
app/src/main/res/values/themes.xml +8 −0 Original line number Diff line number Diff line Loading @@ -84,6 +84,7 @@ <item name="android:isLightTheme" tools:targetApi="q">true</item> <item name="android:statusBarColor">?android:colorBackground</item> <item name="alertDialogTheme">@style/AppThemeAlertDialog</item> <item name="preferenceTheme">@style/AppPreferenceThemeOverlay</item> </style> <style name="Transparent" parent="AppThemeBar"> Loading Loading @@ -277,4 +278,11 @@ <item name="cornerSize">6dp</item> </style> <style name="AppPreferenceThemeOverlay" parent="PreferenceThemeOverlay"> <item name="switchPreferenceCompatStyle">@style/AppSwitchPreferenceCompatStyle</item> </style> <style name="AppSwitchPreferenceCompatStyle" parent="@style/Preference.SwitchPreferenceCompat.Material"> <item name="widgetLayout">@layout/preference_switch_material</item> </style> </resources>