Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Merge pull request #11327 from t895/settings-animation
Android: New settings fragment animations
- Loading branch information
Showing
12 changed files
with
112 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
Source/Android/app/src/main/res/anim-ldrtl/anim_pop_settings_fragment_out.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <set xmlns:android="http://schemas.android.com/apk/res/android"> | ||
|
|
||
| <alpha | ||
| android:duration="125" | ||
| android:interpolator="@android:anim/decelerate_interpolator" | ||
| android:fromAlpha="1" | ||
| android:toAlpha="0" /> | ||
|
|
||
| <translate | ||
| android:duration="125" | ||
| android:interpolator="@android:anim/decelerate_interpolator" | ||
| android:fromXDelta="0" | ||
| android:toXDelta="-75" /> | ||
|
|
||
| </set> |
16 changes: 16 additions & 0 deletions
16
Source/Android/app/src/main/res/anim-ldrtl/anim_settings_fragment_in.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <set xmlns:android="http://schemas.android.com/apk/res/android"> | ||
|
|
||
| <alpha | ||
| android:duration="@android:integer/config_shortAnimTime" | ||
| android:interpolator="@android:anim/decelerate_interpolator" | ||
| android:fromAlpha="0" | ||
| android:toAlpha="1" /> | ||
|
|
||
| <translate | ||
| android:duration="@android:integer/config_shortAnimTime" | ||
| android:interpolator="@android:anim/decelerate_interpolator" | ||
| android:fromXDelta="-200" | ||
| android:toXDelta="0" /> | ||
|
|
||
| </set> |
16 changes: 16 additions & 0 deletions
16
Source/Android/app/src/main/res/anim/anim_pop_settings_fragment_out.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <set xmlns:android="http://schemas.android.com/apk/res/android"> | ||
|
|
||
| <alpha | ||
| android:duration="125" | ||
| android:interpolator="@android:anim/decelerate_interpolator" | ||
| android:fromAlpha="1" | ||
| android:toAlpha="0" /> | ||
|
|
||
| <translate | ||
| android:duration="125" | ||
| android:interpolator="@android:anim/decelerate_interpolator" | ||
| android:fromXDelta="0" | ||
| android:toXDelta="75" /> | ||
|
|
||
| </set> |
16 changes: 16 additions & 0 deletions
16
Source/Android/app/src/main/res/anim/anim_settings_fragment_in.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <set xmlns:android="http://schemas.android.com/apk/res/android"> | ||
|
|
||
| <alpha | ||
| android:duration="@android:integer/config_shortAnimTime" | ||
| android:interpolator="@android:anim/decelerate_interpolator" | ||
| android:fromAlpha="0" | ||
| android:toAlpha="1" /> | ||
|
|
||
| <translate | ||
| android:duration="@android:integer/config_shortAnimTime" | ||
| android:interpolator="@android:anim/decelerate_interpolator" | ||
| android:fromXDelta="200" | ||
| android:toXDelta="0" /> | ||
|
|
||
| </set> |
10 changes: 10 additions & 0 deletions
10
Source/Android/app/src/main/res/anim/anim_settings_fragment_out.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <set xmlns:android="http://schemas.android.com/apk/res/android"> | ||
|
|
||
| <alpha | ||
| android:duration="@android:integer/config_shortAnimTime" | ||
| android:interpolator="@android:anim/decelerate_interpolator" | ||
| android:fromAlpha="1" | ||
| android:toAlpha="0" /> | ||
|
|
||
| </set> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,18 +1,20 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <set xmlns:android="http://schemas.android.com/apk/res/android"> | ||
| <alpha | ||
| android:duration="@android:integer/config_shortAnimTime" | ||
| android:interpolator="@android:anim/decelerate_interpolator" | ||
| android:fromAlpha="0" | ||
| android:toAlpha="1" /> | ||
|
|
||
| <scale | ||
| android:duration="@android:integer/config_shortAnimTime" | ||
| android:interpolator="@android:anim/decelerate_interpolator" | ||
| android:fromXScale="0.95" | ||
| android:fromYScale="0.95" | ||
| android:pivotX="50%" | ||
| android:pivotY="50%" | ||
| android:toXScale="1.0" | ||
| android:toYScale="1.0" /> | ||
| </set> | ||
| <alpha | ||
| android:duration="@android:integer/config_shortAnimTime" | ||
| android:interpolator="@android:anim/decelerate_interpolator" | ||
| android:fromAlpha="0" | ||
| android:toAlpha="1" /> | ||
|
|
||
| <scale | ||
| android:duration="@android:integer/config_shortAnimTime" | ||
| android:interpolator="@android:anim/decelerate_interpolator" | ||
| android:fromXScale="0.95" | ||
| android:fromYScale="0.95" | ||
| android:pivotX="50%" | ||
| android:pivotY="50%" | ||
| android:toXScale="1.0" | ||
| android:toYScale="1.0" /> | ||
|
|
||
| </set> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,18 +1,20 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <set xmlns:android="http://schemas.android.com/apk/res/android"> | ||
| <alpha | ||
| android:duration="@android:integer/config_shortAnimTime" | ||
| android:interpolator="@android:anim/decelerate_interpolator" | ||
| android:fromAlpha="1" | ||
| android:toAlpha="0" /> | ||
|
|
||
| <scale | ||
| android:duration="@android:integer/config_shortAnimTime" | ||
| android:interpolator="@android:anim/decelerate_interpolator" | ||
| android:fromXScale="1.0" | ||
| android:fromYScale="1.0" | ||
| android:pivotX="50%" | ||
| android:pivotY="50%" | ||
| android:toXScale="0.95" | ||
| android:toYScale="0.95" /> | ||
| </set> | ||
| <alpha | ||
| android:duration="@android:integer/config_shortAnimTime" | ||
| android:interpolator="@android:anim/decelerate_interpolator" | ||
| android:fromAlpha="1" | ||
| android:toAlpha="0" /> | ||
|
|
||
| <scale | ||
| android:duration="@android:integer/config_shortAnimTime" | ||
| android:interpolator="@android:anim/decelerate_interpolator" | ||
| android:fromXScale="1.0" | ||
| android:fromYScale="1.0" | ||
| android:pivotX="50%" | ||
| android:pivotY="50%" | ||
| android:toXScale="0.95" | ||
| android:toYScale="0.95" /> | ||
|
|
||
| </set> |
28 changes: 0 additions & 28 deletions
28
Source/Android/app/src/main/res/animator/settings_enter.xml
This file was deleted.
Oops, something went wrong.
28 changes: 0 additions & 28 deletions
28
Source/Android/app/src/main/res/animator/settings_exit.xml
This file was deleted.
Oops, something went wrong.
28 changes: 0 additions & 28 deletions
28
Source/Android/app/src/main/res/animator/settings_pop_enter.xml
This file was deleted.
Oops, something went wrong.
27 changes: 0 additions & 27 deletions
27
Source/Android/app/src/main/res/animator/setttings_pop_exit.xml
This file was deleted.
Oops, something went wrong.