Skip to content Skip to sidebar Skip to footer

Animation Drawable Gets Automatically Shrinks At The Corners ?

I am applying Animation Drawable with some smoke like animation. It works properly everywhere except at the corners/edges of the screen. Android automatically shrinks the Imageview

Solution 1:

I have solved by myself we need to add the right Margin also and if it shrinks at the bottom then we need to add the bottom margin also instead of 0. This solves the problem of shrinking at the edges mlp.setMargins(click_X, click_Y, click_X /2,Click_Y/2);


Post a Comment for "Animation Drawable Gets Automatically Shrinks At The Corners ?"