There is an element (button), it occupies the screen floor and is nailed to the left edge of the screen. And there is such an animation
<translate android:fromXDelta="0" android:toXDelta="100%" android:duration="250" /> with it, I shift the button to the right for a given distance. How can you set a parameter to it so that the right edge of the button moves exactly to the right edge of the screen?
Add. Question: How to make the animation of the button smooth. In the sense that with a smooth shift to the right - there was no sharp jerk back!
