list: switch to header divider
Switch to item decorations to manage header dividers. This is much more reliable than encoding it in-data. Only cost comes in that it forces me to backport yet another component since I still can't update MDC after over half a year.
This commit is contained in:
@@ -2,8 +2,7 @@
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
app:title="@string/set_audio">
|
||||
<PreferenceCategory android:title="@string/set_playback"
|
||||
app:layout="@layout/item_bare_header">
|
||||
<PreferenceCategory android:title="@string/set_playback">
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:key="@string/set_key_headset_autoplay"
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
app:title="@string/set_content">
|
||||
<PreferenceCategory app:title="@string/set_music"
|
||||
app:layout="@layout/item_bare_header">
|
||||
<PreferenceCategory app:title="@string/set_music">
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:defaultValue="false"
|
||||
|
||||
@@ -3,8 +3,7 @@
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
app:title="@string/set_personalize">
|
||||
|
||||
<PreferenceCategory app:title="@string/set_display"
|
||||
app:layout="@layout/item_bare_header">
|
||||
<PreferenceCategory app:title="@string/set_display">
|
||||
|
||||
<org.oxycblt.auxio.settings.ui.WrappedDialogPreference
|
||||
app:key="@string/set_key_home_tabs"
|
||||
|
||||
Reference in New Issue
Block a user