Example of Animation Splash Screen with Zoom Effect

Example of Animation Splash Screen with Zoom Effect

This is an Example to make an Animation Splash Screen with Zoom Effect for Android and IOS. The splash screen is the first screen which appears in front of the user when they interact with your application so to make an impactful the impression you can create animated Splash Screen. In this example, we will see make a zoom effect in the Splash Screen.

If you want to see other examples of Splash Screen You can also visit Example of Animated Splash Screen in React Native.

Note: We are not going to use any external library to make an animated screen. We are going to use an Animated component provided by React Native.

In this example, we will create a Screen having a background image with zoom effect and a floating image over it. You can replace it with your application logo and banner and make some cool stuff.

Animation Effect

To make the zoom effect, the first step is to initialize the height and width of the background image.

Then define the animation timing and the final value you want to make the zoom to.

You can see the full example code below.

To Make a React Native App

Getting started with React Native will help you to know more about the way you can make a React Native project. We are going to use react-native init to make our React Native App. Assuming that you have node installed, you can use npm to install the react-native-cli command line utility. Open the terminal and go to the workspace and run

npm install -g react-native-cli

Run the following commands to create a new React Native project

react-native init ProjectName

If you want to start a new project with a specific React Native version, you can use the --version argument:

react-native init ProjectName --version X.XX.X
react-native init ProjectName --version react-native@next

This will make a project structure with an index file named App.js in your project directory.

Now Open App.js in any code editor and replace the code with the following code.

App.js

To Run the React Native App

Open the terminal again and jump into your project using.
cd ProjectName
To run the project on an Android Virtual Device or on real debugging device
react-native run-android
or on the iOS Simulator by running
react-native run-ios (macOS only).

Screenshots

    

This is how you can create an Animation Splash Screen with Zoom Effect for Android and IOS. If you have any doubt or you want to share something about the topic you can comment below or contact us here. There will be more posts coming soon. Stay tuned!

Hope you liked it. 🙂

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.