How to Create Animated SplashScreen in Android ?

Hello Guys , 

   In this tutorial , we are making animated splash screen in android. At that time animated and attractive app's more used. In this app we create attractive splash screen layout and then we add some animation for making more reliable and attractive.

Animated Splash Screen App looking like below picture :



let's get started.

Step 1 : Create a new Project.

Step 2 : Add images in Drawable folder.

  • Add below images in drawable folder and that images set in splash screen layout.
                       



Step 3 : Create the animation file.

  • Go to res folder and create a new Android Resource Directory named "anim". And in the anim resource directory create new animation files. Here We create  animation file. Animation file name is bottom_up.xml.
  • bottom_up.xml

  • android:duration : It is used to specify  duration for animation. 
  • android:fromYDelta : It is Starting Y offset. It Expressed in pixels relative to the normal position.
  • android:toYDelta : It is Ending Y offset. It Expressed in pixels relative to the normal position.

 

Step 4 : Edit activity_main.xml file



Step 5 :  Create Another Empty Activity.
  • Here we create another activity for moving from splash screen to home page.


Step 6 : Implement MainActivity.java class file.
  • In this class we can load animation class using Animation class.


Output :



If you liked this post do comment ,share and promote the post 🙏 . Please stay with us and support.  🙏   

Post a Comment

0 Comments