Use a central attribute for animation speed

This commit is contained in:
Torsten Grote
2021-02-09 14:37:24 -03:00
parent 4f08f81779
commit eb9ff9c954
11 changed files with 30 additions and 37 deletions

View File

@@ -1,12 +1,11 @@
<?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">
<!-- slide in from right -->
<translate
android:duration="@android:integer/config_mediumAnimTime"
android:duration="@integer/animationSpeed"
android:fromXDelta="100%p"
android:interpolator="@android:interpolator/decelerate_quad"
android:toXDelta="0"/>
android:toXDelta="0" />
</set>