I have searched but have not found an answer. I need an XML animation where it takes an activity in the middle of the screen and slides it down and out of view.
Thanks for the help!
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android">
<translate android:fromYDelta="0" android:toYDelta="100%p" android:duration="600"/>
</set>
this is the animation XML itself, i presume you know how to handle the activity transitions
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.