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

Can someone show we an example how i can change the Animation while navigating. #2780

Closed
Dorentin1997 opened this issue Jan 10, 2018 · 1 comment

Comments

@Dorentin1997
Copy link

Dorentin1997 commented Jan 10, 2018

I want an animation that when i change screen another screen comes on top of it form left, Like in iphone. My application is for andorid.

This is router code.

<Router> <Stack key="root" hideNavBar={true} duration={0} > <Scene key="splashScreen" sceneStyle={{ backgroundColor: 'transparent '}} component={SplashScreen} title="SplashScreen"/> <Scene key="homeScreen" sceneStyle={{ backgroundColor: 'transparent '}} type="reset" component={HomeScreen} title="HomeScreen"/> <Scene key="signUp" sceneStyle={{ backgroundColor: 'transparent '}} component={Signup} title="Signup"/> <Scene key="signIn" sceneStyle={{ backgroundColor: 'transparent '}} component={SignIn} title="SignIn"/> <Scene key="addSafe" sceneStyle={{ backgroundColor: 'transparent '}} component={AddSafe} title="AddSafe"/> <Scene key="safeKeyEntry" sceneStyle={{ backgroundColor: 'transparent '}} component={SafeKeyEntry} title="SafeKeyEntry"/> <Scene key="safeList" sceneStyle={{ backgroundColor: 'transparent '}} type="reset" component={SafeList} title="SafeList" duration={0} /> <Scene key="log" sceneStyle={{ backgroundColor: 'transparent '}} component={Log} title="Log"/> <Scene key="settings" sceneStyle={{ backgroundColor: 'transparent '}} component={Settings} title="Settings"/> </Stack> </Router>

@Blapi
Copy link
Collaborator

Blapi commented Jan 10, 2018

#2628

@Blapi Blapi closed this as completed Jan 10, 2018
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