Speed up animations slightly
This commit is contained in:
parent
e19d08513b
commit
2a9b820b54
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<scale
|
<scale
|
||||||
android:duration="@android:integer/config_mediumAnimTime"
|
android:duration="@integer/animation_time_medium"
|
||||||
android:fromXScale="0.85"
|
android:fromXScale="0.85"
|
||||||
android:fromYScale="0.85"
|
android:fromYScale="0.85"
|
||||||
android:interpolator="@android:interpolator/decelerate_cubic"
|
android:interpolator="@android:interpolator/decelerate_cubic"
|
||||||
@ -10,7 +10,7 @@
|
|||||||
android:toXScale="1.0"
|
android:toXScale="1.0"
|
||||||
android:toYScale="1.0" />
|
android:toYScale="1.0" />
|
||||||
<alpha
|
<alpha
|
||||||
android:duration="@android:integer/config_mediumAnimTime"
|
android:duration="@integer/animation_time_medium"
|
||||||
android:fromAlpha="0.0"
|
android:fromAlpha="0.0"
|
||||||
android:toAlpha="1.0" />
|
android:toAlpha="1.0" />
|
||||||
</set>
|
</set>
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<scale
|
<scale
|
||||||
android:duration="@android:integer/config_mediumAnimTime"
|
android:duration="@integer/animation_time_medium"
|
||||||
android:fromXScale="1.0"
|
android:fromXScale="1.0"
|
||||||
android:fromYScale="1.0"
|
android:fromYScale="1.0"
|
||||||
android:interpolator="@android:interpolator/decelerate_cubic"
|
android:interpolator="@android:interpolator/decelerate_cubic"
|
||||||
@ -10,7 +10,7 @@
|
|||||||
android:toXScale="0.85"
|
android:toXScale="0.85"
|
||||||
android:toYScale="0.85" />
|
android:toYScale="0.85" />
|
||||||
<alpha
|
<alpha
|
||||||
android:duration="@android:integer/config_mediumAnimTime"
|
android:duration="@integer/animation_time_medium"
|
||||||
android:fromAlpha="1.0"
|
android:fromAlpha="1.0"
|
||||||
android:toAlpha="0.0" />
|
android:toAlpha="0.0" />
|
||||||
</set>
|
</set>
|
@ -1,12 +1,12 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<translate
|
<translate
|
||||||
android:duration="@android:integer/config_mediumAnimTime"
|
android:duration="@integer/animation_time_medium"
|
||||||
android:fromYDelta="0%p"
|
android:fromYDelta="0%p"
|
||||||
android:interpolator="@android:interpolator/accelerate_cubic"
|
android:interpolator="@android:interpolator/accelerate_cubic"
|
||||||
android:toYDelta="100%p" />
|
android:toYDelta="100%p" />
|
||||||
<alpha
|
<alpha
|
||||||
android:duration="@android:integer/config_mediumAnimTime"
|
android:duration="@integer/animation_time_medium"
|
||||||
android:fromAlpha="1.0"
|
android:fromAlpha="1.0"
|
||||||
android:toAlpha="0.0" />
|
android:toAlpha="0.0" />
|
||||||
</set>
|
</set>
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<translate
|
<translate
|
||||||
android:duration="@android:integer/config_mediumAnimTime"
|
android:duration="@integer/animation_time_medium"
|
||||||
android:fromXDelta="100%p"
|
android:fromXDelta="100%p"
|
||||||
android:interpolator="@android:interpolator/decelerate_cubic"
|
android:interpolator="@android:interpolator/decelerate_cubic"
|
||||||
android:toXDelta="0%p" />
|
android:toXDelta="0%p" />
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<translate
|
<translate
|
||||||
android:duration="@android:integer/config_mediumAnimTime"
|
android:duration="@integer/animation_time_medium"
|
||||||
android:fromXDelta="0%p"
|
android:fromXDelta="0%p"
|
||||||
android:interpolator="@android:interpolator/decelerate_cubic"
|
android:interpolator="@android:interpolator/decelerate_cubic"
|
||||||
android:toXDelta="100%p" />
|
android:toXDelta="100%p" />
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<translate
|
<translate
|
||||||
android:duration="@android:integer/config_mediumAnimTime"
|
android:duration="@integer/animation_time_medium"
|
||||||
android:fromYDelta="100%p"
|
android:fromYDelta="100%p"
|
||||||
android:interpolator="@android:interpolator/decelerate_cubic"
|
android:interpolator="@android:interpolator/decelerate_cubic"
|
||||||
android:toYDelta="0%p" />
|
android:toYDelta="0%p" />
|
||||||
|
4
app/src/main/res/values/integers.xml
Normal file
4
app/src/main/res/values/integers.xml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
<integer name="animation_time_medium">350</integer>
|
||||||
|
</resources>
|
Loading…
x
Reference in New Issue
Block a user