diff options
| author | 2019-05-24 10:18:09 +0100 | |
|---|---|---|
| committer | 2019-05-29 09:49:00 +0000 | |
| commit | 10b4dbb1909f80770d6bcaf06ade3c79e829a8bd (patch) | |
| tree | 8e2120835d79b30294dd28a9d0f3f76d671133c2 | |
| parent | 2cf040d6024c5e056c2ceba899e9ecdd3393f897 (diff) | |
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
| -rw-r--r-- | core/res/res/values/themes_device_defaults.xml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/core/res/res/values/themes_device_defaults.xml b/core/res/res/values/themes_device_defaults.xml index 628926231c65..b90104899e55 100644 --- a/core/res/res/values/themes_device_defaults.xml +++ b/core/res/res/values/themes_device_defaults.xml @@ -1473,10 +1473,14 @@ easier. <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> |