Android- Image Shape Changed On Screen Rotation
Solution 1:
You need to use 9patch to define what areas of the image are allowed to stretch when the orientation changes. Check out this link for 9patch.
Solution 2:
The top and left edges of your 9-patch are where you declare which parts of your image can stretch to fill the space. Since you have what appears to be a bitmap with content in the middle (as opposed to a background bitmap), you should prevent the logo in the center of your 9-patch from stretching. That means you want the black borders in position where you might draw the lines on a Tic-Tac-Toe board: Not through the middle, and not in the corners either. See where I put the stretch bars (okay, dots really) on this example image.
Solution 3:
I have found the problem. It is an optical illusion, because of the background image. It is now fixed.
Best Regards
Post a Comment for "Android- Image Shape Changed On Screen Rotation"