How To Create Animated Splash Screen to Your Android Application





        Hi welcome to http://codemissyou.blogspot.com , splash screen is one of the most important component in android application, although splash screen very simple thing but that will presenting the face of your application.
        Your splash screen will be more cool and great if you put some magic or animated,the design looks dynamic and no bored. so i will tell How To Create Animated Splash Screen to Your Android Application , very easy and only follow my step.. lets go

First Step :

     Design your splash screen in activity_splash_screen.xml

Add this code into activity_splash_screen.xml


 in previous code line, i am using imageview (@id = splash) and linear layout (@id = lin_lay)

Second Step :

Create folder and give name "anim" under values folder, add alpha.xml  and translate.xml into anim  folder :



Code for alpha.xml :

 Code for translate.xml :



 Third Step :

      Add code hex color into colors.xml like :




Fourth Step :

             Create file java and give name as SplashScreenActivity.java, and add some code for put logic and call the animated ,and then show layout splash screen.

Code SplashScreenActivity.java :


  in previous code line, if animation finish, SplashScreenActivity will be close and open new intent, MainActivity. this articles i am not adding  MainActivity  code  because thats very basic and i think you can create MainActiviy.
               You Also must declired SplashScreenActivity in manifest, like this :

Finish ! :)

          I hope my articles will help and you can write comment and send message to indahrahma0909@gmail.com for any trouble when you implementation  all the code .
         If you want to the source, please contact me or asking by email. i will give you free...so calm down..  

Share this

Related Posts

Previous
Next Post »