Refactor edge-to-edge

Change edge-to-edge to auto-enable on 27+, along with relying on styles to make the systemui changes instead of code directly.
This commit is contained in:
OxygenCobalt
2020-12-18 10:45:42 -07:00
parent 0d32ab0f7e
commit 4413cb1499
20 changed files with 275 additions and 418 deletions
+2 -1
View File
@@ -16,9 +16,9 @@
<Preference
android:icon="@drawable/ic_accent"
android:title="@string/setting_accent"
app:allowDividerBelow="false"
app:key="KEY_ACCENT"
app:summary="@string/setting_accent_unknown" />
</PreferenceCategory>
<PreferenceCategory
@@ -113,6 +113,7 @@
android:defaultValue="@integer/rewind_threshold_default"
android:max="@integer/rewind_threshold_max"
android:title="@string/setting_behavior_rewind_threshold"
app:allowDividerBelow="false"
app:dependency="KEY_PREV_REWIND"
app:iconSpaceReserved="false"
app:key="KEY_REWIND_THRESHOLD"