![](/img/trans.png)
[英]Score not increasing after the user has scored 1 in Quiz App. How do i fix?
[英]Notification bar overlays an app. How to fix it?
通知欄會覆蓋一個應用程序。
這是AppTheme:
<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>
和清單:
android:theme="@style/AppTheme"
我該如何解決?
根據文檔:
通過啟用半透明的系統欄,您的布局將填充系統欄后面的區域。
因此,將其值更改為false。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.