Images sizes android full screen images

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

How to make android devices to pick right sized images from xxhdpi and xxxhdpi resources?

xxxhdpi

samsung S7 - 1440X2560px (Launchimage.png)

Samsung S8 - 1440X2960px (Launchimage.png)

xxhdpi

samsung galaxy note - 1440X2560 (Launchimage.png)

samsung s5 - 1080X1920 (Launchimage.png)

Hi @Reese Dohewty​,

Please see this link, https://basecamp.kony.com/s/feed/0D56A00000mN5CuSAK

Thanks

@Svwvh Awnold​

Thanks for quick reply. i saw the above link, it talks about creating different dpi folders. My question is how to add same file (say loginbg.png) with different resolutions (1440X2560 and 1440X2960) to support samsung s7 and samsung s8 devices under xxxhdpi folder.

Hi @Reese Dohewty​,

You can put Launchimage.png in drawable-xxhdpi folder and drawable-xxxhdpi folder. Build & Run It, It will automatically load the image based on your device's density. So if your device density is xxhdpi then it will load the Launchimage.png under drawable-xxhdpi.

Thanks

@Svwvh Awnold​

Thank you. please look at below url. it describes my issue clearly. it talks about splash screen. but in my case it is login screen back ground image.

https://stackoverflow.com/questions/50486644/image-loading-issue-for-different-resolutions-for-xxxhdpi-devices

HI @Reese Dohewty​ ,

For the above mentioned thread solution , you need to create .9 patch images.