In my Activity screen,half of the screen contain a layout.When Activity loaded it visible and after 10 seconds it will be get down slowly finally it will be not visible to user.But it get down slowly.How i can do it.Please can any one help me.
Thanking in Advance.
In your
res\anim
folder (create the folder if it's not there) createslide_out_down.xml
and paste the followingto start the animation and hide the view use this
The above code will make the view go invisible very slowly.
setDuration(50000)
//change the number according to your need. It varies the speed of the layout.You can use FragmentActivity and Fragment for this and add animation to the fragment