To apply left to right scale toa button i have used the following code. My button is in the right of layout. I want the button should start from its right X position and scale to left X position how to achieve this?
view.startAnimation(new ScaleAnimation(0.0f, 1.0f, 1.0f, 1.0f));
You need to set the starting point to the middle right, you also need to set the duration of the animation like this:
in your case the Y start location is not important.
if you don't get it read about this constructor: