Images in case of multi screen support in android -
i have confusion regarding multi screens support in android. have gone through article multi screen support @ android developer forum. question if app has 15-20 images need shown full screen on device screen. if want support screens should put in 3 drawable folders ldpi, mdpi & hdpi. here have done
in ldpi - images of 240x320 resolution mdpi - images of 320x480 reolution hdpi - images of 720x800 resolution. (i using same densities 3 resolution) think not right approach.
what should do? put images of different resolution in drawable-ldpi, drawable-mdpi & drawable-hdpi above or should use images of different densities 120 dpi, 160 dpi & 240 dpi. if use images of different densities should resolution(should 120 dpi resolution 240x320, 160 dpi resolution 320x480 & 240 dpi resolution 480x800). or if using different dpi images resolution should same(320x480) densities .
regards, anuj
ideally should have drawables different densities different screens. can use sizes mentioned images. can provide high-dpi images , downscaled match user's device screen density.
also if want images shown in fullscreen, possibly have have different versions of these images landscape , portrait orientations , long , not long screens.
and can use imageview
widget proper image scaling on different devices.
Comments
Post a Comment