summaryrefslogtreecommitdiff
path: root/res/values
diff options
context:
space:
mode:
authorKunhung Li <kunhungli@google.com>2021-04-26 20:07:03 +0800
committerKunhung Li <kunhungli@google.com>2021-04-27 14:14:01 +0800
commit202f4078db32f41e5f8088ec6ba401bb492d9944 (patch)
tree645a6c3ab2564eaba8e8d340daad6199a339d932 /res/values
parent273aabc4a76507ea959e3ca61c47d4d99a6b9b11 (diff)
downloadThemePicker-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.xml1
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>