When we are making images for android app, I wanted to know which way is correct for making XHDPI, HDPI, MDPI, LDPI. (both may be wrong)
The first way is get the original image, open in photoshop, change the DPI to 320 (the original has 326 DPI) then save the image as XHDPI, then change the DPI to 240 for HDPI, 160 for MDPI, 120 for LDPI.
Second way, open the original image, then half the image size (without changing the DPI) and that would be MDPI, resize the image to 0.75 of MDPI's size and that would be LDPI, resize it to 1.5 of MDPI's size and that would be HDPI.
So basically, first way is change the DPI and photoshop automatically resizes the image, the second way is keep the dpi same and manually resize the image.
If both ways are wrong, please let me know the correct way to create these images in photoshop.