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

Gradient color in status bar #20

Open
AbhishekDS-Userfacet opened this issue May 31, 2018 · 1 comment
Open

Gradient color in status bar #20

AbhishekDS-Userfacet opened this issue May 31, 2018 · 1 comment

Comments

@AbhishekDS-Userfacet
Copy link

How to use gradient colours in status bar of the app?

@ShanaNyaa
Copy link

ShanaNyaa commented Nov 17, 2023

Just put the gradient colours after status bar like this...
Below I have 2 gradient that are used for status bar and the main page itself

    <SafeAreaView style={{flex: 1}}>
      <StatusBar translucent backgroundColor={"transparent"} barStyle={"dark-content"}/>
      <AnimatedLinearGradient style={styles.container} customColors={animation.colors} speed={animation.speed} />
        <View style={styles.container}>
          <AnimatedLinearGradient style={styles.container} customColors={animation.colors} speed={animation.speed} />
        </View>
        <View style={styles.containerInput}>
        </View>
    </SafeAreaView>

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

2 participants