ui: add edge-to-edge toggle

Add a toggle for edge-to-edge mode.

Normally we would want to enable edge-to-edge by default (in fact, we
still do). However, some phones (once again, samsung) don't provide
Auxio with actual window insets. As a result, we need to add a toggle
so that it can be disabled on busted devices.

Did you know that even when Auxio has it's edge-to-edge functionality
busted, Samsung Music works just fine? Very interesting.

Resolves #149.
This commit is contained in:
OxygenCobalt
2022-06-07 17:14:02 -06:00
parent bd683ca09a
commit c929357d76
6 changed files with 61 additions and 20 deletions
+2
View File
@@ -76,6 +76,8 @@
<string name="set_accent">Color scheme</string>
<string name="set_black_mode">Black theme</string>
<string name="set_black_mode_desc">Use a pure-black dark theme</string>
<string name="set_edge_to_edge">Edge-to-edge</string>
<string name="set_edge_to_edge_desc">May not work on all devices</string>
<string name="set_display">Display</string>
<string name="set_lib_tabs">Library tabs</string>