I want to get some sample codes on animation where the page will slide.
Thanks
Sunil
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
create a folder anim in res directory and store there slide_top_to_bottom.xml file
In your program pass the view to which animation will be set
you can get sample xml in installation directory of Android
eg. C:\Program Files\Android\android-sdk-windows\samples\android-10\ApiDemos\res\animThe above directory contains lots of sample animation xml file which you can use
Mostly animation is 3 types, sliding effect- transalte, fading effect – alpha, inreaze or decrease size of page- scale
Thanks
Deepak