解決Android啟動APP的一瞬間系統(tǒng)欄會變成藍(lán)色問題
系統(tǒng)欄已經(jīng)做過處理,但是在啟動APP時系統(tǒng)欄還是會有一瞬間是藍(lán)色的。解決起來很簡單,在res/values/style中,把下面代碼
<!-- Base application theme. --> <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> <!-- Customize your theme here. --> <item name="colorPrimary">@color/colorPrimary</item> <item name="colorPrimaryDark">@color/colorPrimaryDark</item> <item name="colorAccent">@color/colorAccent</item> </style>
中的@color/colorPrimaryDark
改成 @color/white
或者其他顏色都可以
總結(jié)
以上所述是小編給大家介紹的解決Android啟動APP的一瞬間系統(tǒng)欄會變成藍(lán)色問題,希望對大家有所幫助,如果大家有任何疑問請給我留言,小編會及時回復(fù)大家的。在此也非常感謝大家對腳本之家網(wǎng)站的支持!
相關(guān)文章
Android RecyclerView的Item點擊事件實現(xiàn)整理
這篇文章主要介紹了Android RecyclerView的Item點擊事件實現(xiàn)整理的相關(guān)資料,需要的朋友可以參考下2017-01-01
Android?PowerManagerService?打開省電模式
這篇文章主要介紹了Android?PowerManagerService打開省電模式,文章通告省電模式的打開過程、什么是?battery?saver?sticky?模式兩部分展開詳情,感興趣的朋友可以參考一下2022-08-08
Qt6.5.3?Android環(huán)境配置的實現(xiàn)
本文主要介紹了Qt6.5.3?Android環(huán)境配置的實現(xiàn),文中通過圖文介紹的非常詳細(xì),對大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)學(xué)習(xí)吧2024-01-01
Android 使用AsyncTask實現(xiàn)多任務(wù)多線程斷點續(xù)傳下載
這篇文章主要介紹了Android 使用AsyncTask實現(xiàn)多任務(wù)多線程斷點續(xù)傳下載的相關(guān)資料,需要的朋友可以參考下2018-05-05
Android編程實現(xiàn)VideoView循環(huán)播放功能的方法
這篇文章主要介紹了Android編程實現(xiàn)VideoView循環(huán)播放功能的方法,結(jié)合簡單實例形式分析了Android使用VideoView實現(xiàn)多媒體播放功能的操作技巧,需要的朋友可以參考下2017-02-02

