akveo / akveo/kittenTricks

Change Status Bar Color of Splash Screen

未關閉
#303 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
TypeScript
星號
7.3k
分支
989
PR 合併指標
30 天內沒有已合併 PR

描述

Hi, is it possible to change the statusbar color of the splash screen (android)? I already tried the following things:

* Changing primaryColorDark and statusBarColor of Kitten Tricks's splash theme in values/styles.xml. This will work for the start of the splash screen, but after a few milliseconds the status bar color of the splash screen changes back to gray.

* Changing the backgroundcolor of androidStatusBar in /src/app/app.json also doesn't work.

* Lastly I tried adding a StatusBar with my preferred color inside the AppLoading (/src/app/app-loading.component.tsx) component which again doesn't work:

``
` `
` {!loading && props.children(loadingResult)}`
` {props.placeholder && props.placeholder({ loading })}`
``

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。