Skip to content

Commit

Permalink
调整页面效果
Browse files Browse the repository at this point in the history
  • Loading branch information
Sloaix committed Jun 30, 2017
1 parent 207843a commit 6ea8c89
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion library/src/main/res/anim/capa_fade_in.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>

<alpha xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="300"
android:duration="500"
android:fromAlpha="0.0"
android:interpolator="@android:interpolator/decelerate_quad"
android:toAlpha="1.0"/>
2 changes: 1 addition & 1 deletion library/src/main/res/anim/capa_fade_out.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>

<alpha xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="300"
android:duration="500"
android:fromAlpha="1.0"
android:interpolator="@android:interpolator/decelerate_quad"
android:toAlpha="0.0"/>
6 changes: 3 additions & 3 deletions library/src/main/res/anim/capa_slide_in_bottom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

<set xmlns:android="http://schemas.android.com/apk/res/android">
<translate
android:duration="@android:integer/config_mediumAnimTime"
android:fromYDelta="50%p"
android:duration="500"
android:fromYDelta="3%p"
android:toYDelta="0"/>

<alpha
android:duration="@android:integer/config_mediumAnimTime"
android:duration="500"
android:fromAlpha="0.0"
android:toAlpha="1.0"/>
</set>
6 changes: 3 additions & 3 deletions library/src/main/res/anim/capa_slide_in_top.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

<set xmlns:android="http://schemas.android.com/apk/res/android">
<translate
android:duration="@android:integer/config_mediumAnimTime"
android:fromYDelta="-50%p"
android:duration="500"
android:fromYDelta="-3%p"
android:toYDelta="0"/>
<alpha
android:duration="@android:integer/config_mediumAnimTime"
android:duration="500"
android:fromAlpha="0.0"
android:toAlpha="1.0"/>
</set>

0 comments on commit 6ea8c89

Please sign in to comment.