November 24th, 2011, 06:31 AM
|
#1 (permalink)
|
|
New Member
Join Date: Nov 2011
Posts: 1
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
|
Fragment rotation
how to rotate fragment in android 3.0.I have an activity in which there is listfragment and fragment.on click of the item in list i want to apply rotation for the fragment.I have tried with below given code:
ObjectAnimator.ofFloat(getView(), "rotationY", 0, 360).setDuration(500).start();
This code works well witn listview in listfragment but when i used the same for fragment rotation it throws exception.Can anyone help me out to deal with this mess.Any help would be appreciated.Thanks
|
|
|