![](/img/trans.png)
[英]Android notification icon to change background according to status bar color
[英]Notification Icon in status bar is not changing in few android devices
這可能是基於不同移動提供商的兼容性問題。 你能告訴你的應用程序使用什么基本主題嗎? 您可以在您的應用程序中找到該信息(在 android 工作室的 android 視圖中)->java->res->values->styles.xml。
編輯
刪除 DarkActonBar 並嘗試僅使用 DayNight。 然后通過檢查啟動器活動的 onCreate 中的模式來強制執行深色操作欄。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.