Added suggestions
This commit is contained in:
parent
547e49507e
commit
06a52b1323
10 changed files with 45 additions and 15 deletions
22
app/src/main/res/anim/item_animation_fall_down.xml
Normal file
22
app/src/main/res/anim/item_animation_fall_down.xml
Normal file
|
@ -0,0 +1,22 @@
|
|||
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:duration="@integer/anim_duration_medium">
|
||||
|
||||
<translate
|
||||
android:fromYDelta="-20%"
|
||||
android:interpolator="@android:anim/decelerate_interpolator"
|
||||
android:toYDelta="0" />
|
||||
|
||||
<alpha
|
||||
android:fromAlpha="0"
|
||||
android:interpolator="@android:anim/decelerate_interpolator"
|
||||
android:toAlpha="1" />
|
||||
|
||||
<scale
|
||||
android:fromXScale="105%"
|
||||
android:fromYScale="105%"
|
||||
android:interpolator="@android:anim/decelerate_interpolator"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
android:toXScale="100%"
|
||||
android:toYScale="100%" />
|
||||
</set>
|
5
app/src/main/res/anim/layout_animation_fall_down.xml
Normal file
5
app/src/main/res/anim/layout_animation_fall_down.xml
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layoutAnimation xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:animation="@anim/item_animation_fall_down"
|
||||
android:animationOrder="normal"
|
||||
android:delay="15%" />
|
Loading…
Add table
Add a link
Reference in a new issue