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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user