FragmentTransaction with CustomAnimation android 4+ -


i've notice since android 4+ cannot use animation anymore , objectanimator.

i'm trying use slide-in animation according y scale. (should start -100% > 0 , 0 > 100%) thing objectanimator gets float value. example 1 of animation:

    <objectanimator xmlns:android="http://schemas.android.com/apk/res/android"                 android:propertyname="y"                 android:valuetype="floattype"                 android:valuefrom="-1280"                 android:valueto="0"                 android:duration="500"/> 

how can set valuefrom & valueto run ok on screens? or maybe there's way implement animation. help

see roman nurik's answer here, shows full-screen scalable slide animation creating custom property:

animate transition between fragments


Comments