[英]How can I set the status bar color for Android L to be completely transparent? (No gray tint)
This is my style for my app in Android L, values-v21 这是我在Android L(values-v21)中的应用程式的风格
<style name="AppBaseTheme" parent="android:Theme.Material.Light.NoActionBar.TranslucentDecor">
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:navigationBarColor">@android:color/transparent</item>
</style>
However, the gray tint is still present. 但是,灰色调仍然存在。 How can I have it truly 100% transparent? 我怎样才能真正做到100%透明?
Thanks! 谢谢!
Figured it out. 弄清楚了。 Just gotta not use TranslucentDecor. 只是不要使用TranslucentDecor。
Here's the new styles: 这是新样式:
<style name="AppBaseTheme" parent="android:Theme.Material.Light.NoActionBar">
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.