Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Status Bar Color of Splash Screen #303

Open
heidtjoh opened this issue Jul 29, 2020 · 0 comments
Open

Change Status Bar Color of Splash Screen #303

heidtjoh opened this issue Jul 29, 2020 · 0 comments

Comments

@heidtjoh
Copy link

heidtjoh commented Jul 29, 2020

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:

<React.Fragment>
<StatusBar backgroundColor="black"/>
{!loading && props.children(loadingResult)}
{props.placeholder && props.placeholder({ loading })}
</React.Fragment>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant