simplify theme handling
This commit is contained in:
parent
92ae463b38
commit
f08efec0b6
11 changed files with 24 additions and 129 deletions
|
@ -185,14 +185,6 @@
|
|||
<string name="pref_title_app_theme">Motyw</string>
|
||||
|
||||
|
||||
<string name="pref_title_app_theme_flavor">Odmiana motywu</string>
|
||||
<string-array name="app_theme_flavor_names">
|
||||
<item>Pora dnia</item>
|
||||
<item>Noc</item>
|
||||
<item>Dzień</item>
|
||||
</string-array>
|
||||
|
||||
|
||||
<string name="pref_title_browser_settings">Przeglądarka</string>
|
||||
<string name="pref_title_custom_tabs">Używaj niestandardowych kart Chrome</string>
|
||||
<string name="pref_title_hide_follow_button">Ukryj przycisk śledzenia podczas przewijania</string>
|
||||
|
|
|
@ -7,10 +7,4 @@
|
|||
<item name="android:navigationBarDividerColor">@color/status_divider_light</item>
|
||||
</style>
|
||||
|
||||
<style name="Remin" parent="ReminBase">
|
||||
<item name="android:windowLightNavigationBar">true</item>
|
||||
<item name="android:navigationBarColor">@color/color_background_light</item>
|
||||
<item name="android:navigationBarDividerColor">@color/status_divider_light</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
|
|
|
@ -31,13 +31,9 @@
|
|||
</string-array>
|
||||
|
||||
<string-array name="app_theme_values">
|
||||
<item>AppTheme:prefer:night</item>
|
||||
<item>Remin:only:day</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="app_theme_flavor_values">
|
||||
<item>auto</item>
|
||||
<item>night</item>
|
||||
<item>day</item>
|
||||
<item>auto</item>
|
||||
</string-array>
|
||||
|
||||
</resources>
|
|
@ -172,15 +172,9 @@
|
|||
<string name="pref_title_app_theme">App Theme</string>
|
||||
|
||||
<string-array name="app_theme_names">
|
||||
<item>Tusky</item>
|
||||
<item>Remin</item>
|
||||
</string-array>
|
||||
|
||||
<string name="pref_title_app_theme_flavor">Theme flavor</string>
|
||||
<string-array name="app_theme_flavor_names">
|
||||
<item>Sunset/Sunrise</item>
|
||||
<item>Night</item>
|
||||
<item>Day</item>
|
||||
<item>Dark</item>
|
||||
<item>Light</item>
|
||||
<item>Automatic at sunset</item>
|
||||
</string-array>
|
||||
|
||||
<string name="pref_title_browser_settings">Browser</string>
|
||||
|
|
|
@ -105,14 +105,6 @@
|
|||
|
||||
</style>
|
||||
|
||||
<style name="Remin" parent="ReminBase"/>
|
||||
<style name="ReminBase" parent="AppThemeBase">
|
||||
<item name="colorAccent">#e5ac00</item>
|
||||
<item name="colorButtonNormal">#e8c14e</item>
|
||||
<item name="tab_icon_selected_tint">#e2b62f</item>
|
||||
<item name="compose_hide_media_button_selected_color">#f4c842</item>
|
||||
</style>
|
||||
|
||||
<style name="AppTheme.ImageButton.Light" parent="Widget.AppCompat.Button.Borderless.Colored">
|
||||
<item name="android:tint">@color/image_button_light</item>
|
||||
</style>
|
||||
|
|
|
@ -12,13 +12,6 @@
|
|||
android:summary="%s"
|
||||
android:title="@string/pref_title_app_theme" />
|
||||
|
||||
<ListPreference
|
||||
android:entries="@array/app_theme_flavor_names"
|
||||
android:entryValues="@array/app_theme_flavor_values"
|
||||
android:key="appThemeFlavor"
|
||||
android:summary="%s"
|
||||
android:title="@string/pref_title_app_theme_flavor" />
|
||||
|
||||
<ListPreference
|
||||
android:defaultValue="medium"
|
||||
android:entries="@array/status_text_size_names"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue