Android animation for ImageView

1

It turns out that in my activity splash, I have an image, that when the app opens, it shows up as an animation, and it moves from the bottom to the top but then returns to the center of the screen. I can not get the image to stay on top of the screen. What is the property or what do I have to modify?

this is my translate

xmlns:android="http://schemas.android.com/apk/res/android"
android:fromXDelta="0%"
android:toXDelta="0%"
android:fromYDelta="200%"
android:toYDelta="-90%"
android:duration="5000"
android:zAdjustment="top"
    
asked by Nicolas Schmidt 10.04.2016 в 05:58
source

1 answer

2

Add the property fillAfter in true:

android:fillAfter="true"
  

fillAfter defines whether the animation transformation should be applied after the full animation or not. If it is set to   false the element changes to its previous state after the animation.

    
answered by 10.04.2016 / 07:38
source