improve activity transitions
This commit is contained in:
parent
f96c6aa969
commit
2817fcae45
6 changed files with 53 additions and 2 deletions
9
app/src/main/res/anim/fade_delay.xml
Normal file
9
app/src/main/res/anim/fade_delay.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<alpha
|
||||
android:interpolator="@android:anim/accelerate_interpolator"
|
||||
android:fromAlpha="1.0" android:toAlpha="0.0"
|
||||
android:fillAfter="true"
|
||||
android:startOffset="1600"
|
||||
android:duration="200" />
|
||||
</set>
|
||||
8
app/src/main/res/anim/fade_quick.xml
Normal file
8
app/src/main/res/anim/fade_quick.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<alpha
|
||||
android:interpolator="@android:anim/accelerate_interpolator"
|
||||
android:fromAlpha="1.0" android:toAlpha="0.0"
|
||||
android:fillAfter="true"
|
||||
android:duration="400" />
|
||||
</set>
|
||||
9
app/src/main/res/anim/fade_slow.xml
Normal file
9
app/src/main/res/anim/fade_slow.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<alpha
|
||||
android:interpolator="@android:anim/accelerate_interpolator"
|
||||
android:fromAlpha="1.0" android:toAlpha="0.0"
|
||||
android:fillAfter="true"
|
||||
android:startOffset="800"
|
||||
android:duration="200" />
|
||||
</set>
|
||||
Loading…
Add table
Add a link
Reference in a new issue