png - Android 9 patch drawables -


a simple little question: 9 patch drawables have created in 4 different sizes different screen resolutions , placed inside [drawables] - ldpi | mdpi | hdpi | xhdpi or 1 image , placed inside drawables folder? what's best pracatice?

you don't have create in multiple sizes, may better if do, depending on image , how you're using it.

the gain 9-patching gets in "stretching" of (probably-uniform) areas. non-stretched areas still benefit multiple resolution versions if weren't in 9-patch, e.g. if have low-res 9-patch "detail" areas of may unpleasantly scaled on high resolution screen.


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -