ui: do not enforce contrast after api 29
Set the enforce*BarContrast methods to false above API 29, so we can use fully transparent navigation and status bars. Previously, we used a mostly transparent color for such, but now, we can use a completely transparent color without it being changed to match contrast.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<!-- Note: Not actually transparent, making it transparent would actually make it translucent -->
|
||||
<color name="chrome_transparent">#01151515</color>
|
||||
<color name="chrome_transparent_ish">#01151515</color>
|
||||
|
||||
<color name="widget_surface">@color/material_dynamic_secondary20</color>
|
||||
<color name="widget_surface_inverse">@color/material_dynamic_neutral90</color>
|
||||
|
||||
Reference in New Issue
Block a user