Revert "app: remove custom edge to edge setup"
This reverts commit f134d3e11b.
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<!-- Used on devices when we cannot set dark/light mode on the system bars. -->
|
||||
<color name="chrome_translucent">#80000000</color>
|
||||
|
||||
<!--
|
||||
Used on devices when we can technically use "transparent" system bars, but fully
|
||||
transparent system bars would actually be made translucent by the OS.
|
||||
-->
|
||||
<color name="chrome_transparent_ish">#01ffffff</color>
|
||||
|
||||
<!-- Replicate extra theme values for widgets -->
|
||||
<color name="widget_surface">@color/material_dynamic_primary95</color>
|
||||
<color name="widget_surface_inverse">@color/material_dynamic_neutral20</color>
|
||||
|
||||
@@ -2,12 +2,23 @@
|
||||
<resources>
|
||||
<!-- Master parent theme -->
|
||||
<style name="Theme.Auxio" parent="Theme.Material3.DynamicColors.DayNight" />
|
||||
<!-- Adds nicer selector attributes not supported on lollipop -->
|
||||
<style name="Theme.Auxio.V23" parent="Theme.Auxio" />
|
||||
<!-- Handles edge-to-edge on other styles variants -->
|
||||
<style name="Theme.Auxio.V27" parent="Theme.Auxio.V23">
|
||||
<item name="android:statusBarColor">@color/chrome_translucent</item>
|
||||
<item name="android:navigationBarColor">@color/chrome_translucent</item>
|
||||
</style>
|
||||
<!-- Adds fully transparent system bars -->
|
||||
<style name="Theme.Auxio.V29" parent="Theme.Auxio.V27" />
|
||||
<!-- Adds an animated splash screen. -->
|
||||
<style name="Theme.Auxio.V31" parent="Theme.Auxio" />
|
||||
<style name="Theme.Auxio.V31" parent="Theme.Auxio.V29" />
|
||||
|
||||
<!-- Base theme -->
|
||||
<style name="Theme.Auxio.Base" parent="Theme.Auxio.V31">
|
||||
|
||||
<!-- Material configuration -->
|
||||
<!-- <item name="colorOutline">@color/overlay_stroke</item>-->
|
||||
<item name="toolbarStyle">@style/Widget.Auxio.Toolbar</item>
|
||||
<item name="materialAlertDialogTheme">@style/Theme.Auxio.Dialog</item>
|
||||
<item name="sliderStyle">@style/Widget.Auxio.Slider</item>
|
||||
|
||||
Reference in New Issue
Block a user