I want to start a new activity from the center of the screen as an expended circle, so the activity will be shown as such a circle.

Here is my current anim.xml code
<set xmlns:android="http://schemas.android.com/apk/res/android" > <scale xmlns:android="http://schemas.android.com/apk/res/android" android:duration="200" android:fromXScale="0" android:fromYScale="0" android:pivotX="50%" android:pivotY="50%" android:toXScale="1" android:toYScale="1" > </scale>
animback.xml
<?xml version="1.0" encoding="utf-8"?> <set xmlns:android="http://schemas.android.com/apk/res/android"> <scale xmlns:android="http://schemas.android.com/apk/res/android" android:duration="1000" android:fromXScale="1.0" android:fromYScale="1.0" android:pivotX="50%" android:pivotY="50%" android:toXScale="1.0" android:toYScale="1.0" > </scale> </set>
Call animation
overridePendingTransition(R.anim.anim,R.anim.animback);
The current code simply zooms in on the new activity, but I want the activity to appear from the center in a circle.
android android-activity android-animation
Rozenpin
source share