Skip to content

Change Status Bar Color of Splash Screen #303

Open
@heidtjoh

Description

@heidtjoh

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions