0
votes

Hi all I'm trying to figure out how to implement a animated splash screen in android application like Appy Geek application. I tried to use a gif animated pic but it is not animating in android.Then I used android Drawable Animation. Form Drawable Animation I'm able to create a animation but to do that I need sequence pictures (Frame by Frame). I need to know is there any other techniques in android to do this.

2
hm.. its good article. but I need to know how to do this :DAhamed Ishak

2 Answers

0
votes

Traditional animation isn't great because you need a bunch of pictures. You can use property animation either via xml or java. http://developer.android.com/guide/topics/graphics/prop-animation.html

0
votes
     anim.xml

    <?xml version="1.0" encoding="utf-8"?>
    <layoutAnimation xmlns:android="http://schemas.android.com/apk/res/android"
            android:delay="50%"
            android:animation="@anim/slide_top_to_bottom" />

   and set these to main layout::->

    android:layoutAnimation="@+anim/anim"