Friday, 15 April 2011

android - Flip animation (ObjectAnimator) for supportfragment (API less than 10) -



android - Flip animation (ObjectAnimator) for supportfragment (API less than 10) -

i tried utilize customanimation function application. end getting unknown object animator name error. did research , found out apparently objectanimator type of animation not supported under getsupportfragmentmanager (correct me if i'm wrong).

getsupportfragmentmanager() .begintransaction() .setcustomanimations(r.animator.card_flip_left_in, r.animator.card_flip_left_out, r.animator.card_flip_right_in, r.animator.card_flip_right_out) .add(r.id.content_frame, reportpage,reportpage.getclass().getsimplename()).addtobackstack(reportpage.getclass().getsimplename()) .commit(); getsupportfragmentmanager().executependingtransactions();

i saw multiple threads mentioned utilize http://nineoldandroids.com/ objectanimator. don't have thought of how utilize library implement on application.

is there workaround can utilize object animator type of animation in above function?

android animation actionbarsherlock fragment objectanimator

No comments:

Post a Comment