android - What is the different between R.anim.slide_left_in and R.anim.slide_left_out -


what different between r.anim.slide_left_in , r.anim.slide_left_out , also, r.anim.slide_right_in , r.anim.slide_right_out
have following xml slide_left_in

<set xmlns:android="http://schemas.android.com/apk/res/android"     android:shareinterpolator="false" >      <translate         android:duration="700"         android:fromxdelta="-100%"         android:fromydelta="0%"         android:toxdelta="0%"         android:toydelta="0%" />  </set> 

they named pretty descriptively...

r.anim.slide_left_in slide view in left.

r.anim.slide_left_out slide view out left.

same thing right ones in opposite direction.

edit:

r.anim.slide_left_out

<set xmlns:android="http://schemas.android.com/apk/res/android"     android:shareinterpolator="false" >      <translate         android:duration="700"         android:fromxdelta="0%"         android:fromydelta="0%"         android:toxdelta="-100%"         android:toydelta="0%" />  </set> 

the right out/in ones same left ones positive 100% instead of negative.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

qt - Errors in generated MOC files for QT5 from cmake -