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

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -