Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android - how to get android.R.anim.slide_in_right

People also ask

How do I set up animator on Android?

Navigate to the app > res > Right-Click on res >> New >> Directory >> Name your directory as “anim”. Inside this directory, we will create our animations. For creating a new anim right click on the anim directory >> Animation Resource file and give the name to your file.


Here are slide_in_right and slide_out_left from the Android open source project.


android:inAnimation="@android:anim/slide_in_left"
android:outAnimation="@android:anim/slide_out_right"