describe the animation used to open a new activity.
the original:
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:interpolator="@anim/decelerate_interpolator">
<translate android:fromXDelta="33%" android:toXDelta="0"
android:duration="@android:integer/config_mediumAnimTime"/>
</set>
I change to:
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:interpolator="@anim/decelerate_interpolator">
<rotate android:fromDegrees="0.0" android:toDegrees="180.0"
android:pivotX="50%" android:pivotY="50%"
android:duration="1000"/>
</set>
after that, when opening a new activity, the animation just goes
really strange, it doesn't rotate on center of the screen
If i want to make the screen animate 180 degress with pivot position
on a center of the screen, are there any better idea ?
Please help ....
thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment