Make statusBarColor and navBarColor transparent for
Theme.DeviceDefault.Settings
Bug: 133474669
Test: manual - compared effects in apps using the theme on my device
Change-Id: Ia37f3e216a1b42d8d49f2c08d29c9e1ce835fdfb
diff --git a/core/res/res/values/themes_device_defaults.xml b/core/res/res/values/themes_device_defaults.xml
index 6289262..b901048 100644
--- a/core/res/res/values/themes_device_defaults.xml
+++ b/core/res/res/values/themes_device_defaults.xml
@@ -1473,10 +1473,14 @@
<item name="colorError">@color/error_color_device_default_light</item>
<item name="colorEdgeEffect">@color/edge_effect_device_default_light</item>
- <!-- Add white nav bar with divider that matches material -->
+ <!-- Add divider that matches material -->
<item name="navigationBarDividerColor">@color/navigation_bar_divider_device_default_settings</item>
- <item name="navigationBarColor">@android:color/white</item>
+
+ <!-- Add transparent nav and status bars with light icons to support drawing edge-to-edge
+ for Q gestural navigation-->
+ <item name="navigationBarColor">@android:color/transparent</item>
<item name="windowLightNavigationBar">true</item>
+ <item name="statusBarColor">@android:color/transparent</item>
<!-- Dialog attributes -->
<item name="dialogCornerRadius">@dimen/config_dialogCornerRadius</item>