Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

objectAnimator

$
0
0

how to do the same animation using objectAnimator as

  <set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/decelerate_interpolator" >
    <alpha android:interpolator="@android:anim/accelerate_interpolator"
            android:fromAlpha="0.0" 
            android:toAlpha="1.0"
            android:duration="500"/>
     <translate xmlns:android="http://schemas.android.com/apk/res/android"
        android:fromXDelta="100%p"
        android:toXDelta="0"
        android:duration="500"/>
    </set>
and this one
    <set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/decelerate_interpolator" >
      <alpha android:interpolator="@android:anim/accelerate_interpolator"
        android:fromAlpha="1.0" 
        android:toAlpha="0.0"
        android:duration="500"/>
      <translate xmlns:android="http://schemas.android.com/apk/res/android"
        android:fromXDelta="0"
        android:toXDelta="-100%p"
         android:duration="500"/>
    </set>

Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>