diff options
author | Kunhung Li <kunhungli@google.com> | 2021-04-26 20:07:03 +0800 |
---|---|---|
committer | Kunhung Li <kunhungli@google.com> | 2021-04-27 14:14:01 +0800 |
commit | 202f4078db32f41e5f8088ec6ba401bb492d9944 (patch) | |
tree | 645a6c3ab2564eaba8e8d340daad6199a339d932 /res/values | |
parent | 273aabc4a76507ea959e3ca61c47d4d99a6b9b11 (diff) | |
download | ThemePicker-202f4078db32f41e5f8088ec6ba401bb492d9944.tar.gz |
Fix collapsing toolbar does not stretch to top
- Make status bar color become transparent.
- Use getSystemWindowInsetTop() to keep status bar height for
GridFragment.
Bug: 186382184
Test: manual
Change-Id: Ic0b510c0526394e98b7a819324382560f5c3d4e6
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/styles.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml index c8ce13b3..a9cf80c7 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -32,6 +32,7 @@ </style> <style name="CustomizationTheme.NoActionBar"> + <item name="android:statusBarColor">@android:color/transparent</item> <item name="android:navigationBarColor">@android:color/transparent</item> <item name="android:windowActionBar">false</item> <item name="android:windowNoTitle">true</item> |