val animOpen = AnimationUtils.loadAnimation(this, com.blankj.utilcode.R.anim.abc_slide_in_bottom)
<?xml version="1.0" encoding="utf-8"?>
<translate xmlns:android="http://schemas.android.com/apk/res/android"
android:interpolator="@android:anim/decelerate_interpolator"
android:fromYDelta="50%p" android:toYDelta="0"
android:duration="@android:integer/config_mediumAnimTime"/>
val animClose = AnimationUtils.loadAnimation(this, com.blankj.utilcode.R.anim.abc_slide_out_bottom)
<?xml version="1.0" encoding="utf-8"?>
<translate xmlns:android="http://schemas.android.com/apk/res/android"
android:interpolator="@android:anim/accelerate_interpolator"
android:fromYDelta="0" android:toYDelta="50%p"
android:duration="@android:integer/config_mediumAnimTime"/>
val animAlphaOpen = AnimationUtils.loadAnimation(this, com.luck.picture.lib.R.anim.ps_anim_alpha_enter)
animAlphaOpen.duration = 400
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:interpolator="@android:anim/decelerate_interpolator">
<alpha
android:duration="10"
android:fromAlpha="0.2"
android:toAlpha="1.0" />
</set>
val animClose = AnimationUtils.loadAnimation(this, com.blankj.utilcode.R.anim.abc_slide_out_bottom)
val animAlphaClose = AnimationUtils.loadAnimation(this, com.luck.picture.lib.R.anim.ps_anim_alpha_exit)
animAlphaClose.duration = 400
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:interpolator="@android:anim/decelerate_interpolator">
<alpha
android:duration="10"
android:fromAlpha="1.0"
android:toAlpha="0.0" />
</set>