ui: fix lollipop bugs
Fix more lollipop bugs, as I usually do. Except for the drawing issues I may or may not have produced. Don't really care enough to fix them though.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<style name="Widget.Auxio.RecyclerView.Grid" parent="Widget.Auxio.RecyclerView.Grid.Base">
|
||||
<item name="spanCount">3</item>
|
||||
</style>
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<bool name="enable_theme_settings">false</bool>
|
||||
</resources>
|
||||
@@ -1,5 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<bool name="enable_theme_settings">true</bool>
|
||||
|
||||
<!-- Note: The old way of naming keys was to prefix them with KEY_. Now it's to prefix them with auxio_. -->
|
||||
<string name="set_key_theme" translatable="false">KEY_THEME2</string>
|
||||
<string name="set_key_black_theme" translatable="false">KEY_BLACK_THEME</string>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<resources>
|
||||
<!-- Master parent theme -->
|
||||
<style name="Theme.Auxio" parent="Theme.Material3.DynamicColors.DayNight" />
|
||||
<!-- Adds nicer selector attributes not supported on lollipop-->
|
||||
<!-- Adds nicer selector attributes not supported on lollipop -->
|
||||
<style name="Theme.Auxio.V23" parent="Theme.Auxio" />
|
||||
<!-- Handles edge-to-edge on other styles variants -->
|
||||
<style name="Theme.Auxio.V27" parent="Theme.Auxio.V23">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||
<!-- SHARED RE-USABLE UI STYLES -->
|
||||
|
||||
<style name="Widget.Auxio.AppBarLayout" parent="Widget.Material3.AppBarLayout">
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
app:entryIcons="@array/icons_theme"
|
||||
app:entryValues="@array/values_theme"
|
||||
app:icon="@drawable/ic_light_24"
|
||||
app:isPreferenceVisible="@bool/enable_theme_settings"
|
||||
app:key="@string/set_key_theme"
|
||||
app:title="@string/set_theme" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user