I have a background image which is 1280 X 720 that fits my S3 so much.
However, if I want to fit other devices, how to do it?
For example, if one device is 800 X 600, if I scale the image from 1280 X 720 to 800 X 600, the image will a little bit out of shape.
Also, I want the image to fit fullscreen size.
Is there any good idea?
After I research, I know that I should prepare different resolution images, but which resolutions should I prepare?
I have a background image which is 1280 X 720 that fits my S3
Share
If you don’t have an image that can be used as a 9-patch then I’d suggest something like following:
This solution will give you an image that covers whole the screen. The image will be uniformly stretched but some parts will be cut out as it uses centerCrop.