I am testing on Samsung galaxy tab 3 with dimensions are 1024 by 600. size is 7 inches.
i created following folders.
drawable-ldpi
drawable-mdpi
drawable-hdpi
drawable-xhdpi
drawable-xxhdpi
i checked dpi of my device using this link http://dpi.lv/#1024×600
My device have 170 dpi(dots per inch).
when i run my project. Image in drawable-mdpi folder is triggered by my device.
I took following image from tutorial i am following.
According to tutorial image is fetched from correct folder i.e drawable-mdpi (2. Medium Density)
Now my question is:
With regards to size Android have four categories of devices. small, normal, large, xlarge
Lets take large size category. (my 7 inches device comes under large size) Large size category can be of any from following types.
1) large size with 100 to 130 dpi(dots per inch)
2) large size with 120 to 180 dpi(dots per inch)
3) large size with 180 to 280 dpi(dots per inch)
4) large size with 280 to 360 dpi(dots per inch)
It is ok. android will trigger images from corresponding drawable-<--dpi> folders. But we have kept different size images in all drawable-<--dpi> folders.
As in my case i kept small size image in drawable-mdpi.But my tablet screen size is 7 inches.
so it is triggering image from drawable-mdpi. which is very small for a 7 inches screen.
what is correct way to use it. do i have to create folder like :
drawable-large-mdpi
drawable-large-ldpi
drawable-large-hdpi
drawable-large-xhdpi
and so on.
Please explain this.