Prevent tween translation from reset - android

I have a simple twin cast that moves an object up to 200 pixels. As soon as he finished the movement, he always returns to its original state, and I do not want this. I want him to stay where I moved him.

I know this should be an obvious solution, but I cannot find the method / property anywhere so that it just stops and not reset ...

+3
source share
1 answer

Animation.setFillAfter (true) may be what you are looking for.

+3
source

Source: https://habr.com/ru/post/1760435/


All Articles