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 out to right -->
<translate
android:duration="@android:integer/config_mediumAnimTime"
android:duration="@integer/animationSpeed"
android:fromXDelta="0"
android:interpolator="@android:interpolator/accelerate_quad"
android:toXDelta="100%p"/>
android:toXDelta="100%p" />
</set>