Which size should the hdpi, mdpi and ldpi images be? On Monday, April 25, 2016 at 6:45:24 PM UTC+7, Manish Butola wrote: > > > Take a full image of 720*1280px and then start slicing on that image and > put all the asset you get after slicing into drawable-xhdpi folder no need > to put any image in any drawable folder > > On Saturday, 23 April 2016 12:49:22 UTC+5:30, Patrik Hansen wrote: >> >> Hello >> >> We're having some major issues with our designs looking horrible on >> different screen resolutions even though we think that we sliced all the >> assets correctly. We planned to launch a few days ago but because of this >> issue we couldn't. Some help is very much appreciated! >> >> >> We have a .psd file in XXXHDPI (width: 1440, height: 2551) with all the >> design assets that you see in the attached "Original" image. We sliced the >> design into 4 assets: >> - The logo >> - The background pattern with the icons in the white area >> - The red bottom area >> - The game images/cards >> >> We used http://jennift.com/dpical.html to calculate the DPI of each of >> the 4 assets. Then we use Photoshop and "Save for web" into xxxhdpi, >> xxhdpi, xhdpi, hdpi, mdpi and ldpi. We trippled checked to make sure that >> the sizes of each asset is correct and to us it seems like they are. We >> even tried using photoshop scripts that does the slicing automatically. >> >> Example, the red bottom asset which is full width in the design has the >> following sizes: >> xxxhdpi: 1440 x 930 >> xxhdpi: 1080 x 698 >> xhdpi: 720 x 465 >> hdpi: 540 x 349 >> mdpi: 360 x 233 >> ldpi: 270 x 174 >> >> >> You can see the problem in the 3 attached images. The proportions is >> completely wrong and the design looks horrible. What's the problem? What >> did we do wrong? >> 4 inch: >> https://drive.google.com/file/d/0BxdUJSq-tNewVWtlOU9qdFR6QlE/view?usp=sharing >> 5 inch: >> https://drive.google.com/file/d/0BxdUJSq-tNewLUJyeF8zN1pCOGs/view?usp=sharing >> 6 inch: >> https://drive.google.com/file/d/0BxdUJSq-tNewQTFpN2RNSUFlSDQ/view?usp=sharing >> >> >> Potential issue: >> The designer sent us this design with the following attributes: >> Width: 720 px >> Height: 1275 px >> Resolution: 72 px/inch >> >> I guess a full screen Android design in XXXHDPI should have the width of >> 1440 px and not 720 px? So what we did was change the image width to 1440 >> px with height proportionally getting to 2551 px. Even though I scaled up >> the entire file the images and the quality is still just as good which I >> think is because the designer created the assets in vector in Sketch. >> >> But still, the quality of the design looks good even though we scaled up >> the size of the file and haven't we sliced the assets into the correct >> sizes? So why is it still looking bad? >> >>
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/f4168718-5a46-4f0a-ba77-7bd95f0cd130%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

