通知栏覆盖应用程序。
这是应用程序主题:
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<item name="windowActionBar">false</item>
<item name="android:windowTranslucentStatus">true</item>
<item name="colorPrimary">@color/ColorPrimary</item>
<item name="colorPrimaryDark">@color/ColorPrimaryDark</item>
</style>
和 list :
android:theme="@style/AppTheme"
如何修复它?
最佳答案
根据文档:
By enabling translucent system bars, your layout will fill the area behind the system bars.
因此将其值更改为 false。
关于java - 通知栏覆盖应用程序。如何修复它?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30156339/