How to do android scale animation based on view's position on screen and focus that view in centre?
问题 I want animation like this: Calendar Animation I want to scale animation on calendar and focus on current date to centre. I am new in android animation, I do some stuff for scaling: zoom_in.xml <?xml version="1.0" encoding="utf-8"?> <set xmlns:android="http://schemas.android.com/apk/res/android" android:fillAfter="true"> <scale android:duration="1000" android:fromXScale="1" android:fromYScale="1" android:pivotX="50%" android:pivotY="50%" android:toXScale="2" android:toYScale="2" /> </set> but