Android -> how to animate to the new position
Here is simple xml android animation: <translate xmlns:android="http://schemas.android.com/apk/res/android" android:fromXDelta="0" android:fromYDelta="0" android:toXDelta="-110" android:toYDelta="-110" android:duration="1000" android:fillAfter="true" /> I want to move animated object from the center of the screen to 0, 0 positions. How cat I make it (it should work at all screen resolutions) My Answer: Thank you guys for your help. But I have fix my problem by other way, dynamically, without xml. Here's full code of this method: public void replace(int xTo, int yTo, float xScale, float yScale)