ui: update material components
Update MDC to the alpha version in order to use some extra features. I was planning to switch to the new MaterialSwitch, but alpha03 has this insane crippling issue with ripples that blocks such. Use alpha02 and prep the app for the addition of the switch.
This commit is contained in:
@@ -39,6 +39,27 @@
|
||||
<item name="android:scrollIndicators" tools:ignore="NewApi">top|bottom</item>
|
||||
</style>
|
||||
|
||||
<style name="Preference.Auxio" parent="Preference.Material">
|
||||
<item name="allowDividerBelow">false</item>
|
||||
<item name="iconSpaceReserved">false</item>
|
||||
</style>
|
||||
|
||||
<style name="Preference.Auxio.DialogPreference" parent="Preference.DialogPreference.Material">
|
||||
<item name="allowDividerBelow">false</item>
|
||||
<item name="iconSpaceReserved">false</item>
|
||||
</style>
|
||||
|
||||
<style name="Preference.Auxio.PreferenceCategory" parent="Preference.Category.Material">
|
||||
<item name="layout">@layout/item_header</item>
|
||||
<item name="allowDividerBelow">false</item>
|
||||
<item name="iconSpaceReserved">false</item>
|
||||
</style>
|
||||
|
||||
<style name="Preference.Auxio.SwitchPreferenceCompat" parent="Preference.SwitchPreferenceCompat.Material">
|
||||
<item name="widgetLayout">@layout/view_preference_switch</item>
|
||||
<item name="allowDividerBelow">false</item>
|
||||
<item name="iconSpaceReserved">false</item>
|
||||
</style>
|
||||
|
||||
<!-- Widget TextView that mimics the main Auxio Primary/Secondary TextViews. -->
|
||||
<style name="Widget.Auxio.TextView.AppWidget" parent="Widget.Auxio.TextView.Base">
|
||||
|
||||
Reference in New Issue
Block a user