i have old project work with, lot of refactoring , on. icons , images storing in mipmap
folders. there strange behaviour
for example, if have icon, has 1 size put mipmap-nodpi
or in drawable-nodpi
used, mentioned before, image resources lying in mipmap
folders. wha's issue:
when i'm putting image mipmap-nodpi
it's not working samsung j4, image, reason small, i've puted mipmap-xhdpi
(which helped me) , accidentaly puted mipmap-xxhdpi
. so, client showed me sceen, shows on samsung galaxy s5 image small also, after blindly deleting , adding image different mipmap
folders, i've found out, behaviour caused image in mipmap-xxhdpi
folder, , when i've deleted it, image showed correclty on s5
my question: i'm confused. logic behind you should put image mipmap-xhdpi
in order correclty show on samsung j4, shouldn't put image mipmap-xxhdpi
(which corret folder samsung s5) show correctly on samsung 5? have mipmap
in particular?
what logic behind should put image mipmap-xhdpi in order correclty show on samsung j4, shouldn't put image mipmap-xxhdpi(which corret folder samsung s5) show correctly on samsung 5? have mipmap in particular?
i don't know logic behind it, but can have on official site says drawable other launcher icon should put in drawable
folder not in mipmap
folder
under drawable folder
drawable/ bitmap files (.png, .9.png, .jpg, .gif) or xml files compiled following drawable resource subtypes:
- bitmap files
- nine-patches (re-sizable bitmaps)
- state lists
- shapes
- animation drawables
- other drawables
under mimmap folder
drawable files different launcher icon densities.
Comments
Post a Comment