android - Statelist drawable for different resource types -


i've got resources different screens in drawable-ldpi, drawable-ldpi, drawable-mdpi. should place statelist file? mean, xml 1 types of resources, in folder shoudl place it?

you can create folder inside /res: drawable, , put state list xml in folder.
can referenced r.drawable.your_state_list.

this way have 1 xml used resolutions.
if have other common drawables, can place them here too.


Comments

Popular posts from this blog

Cursor error with postgresql, pgpool and php -

delphi - ESC/P programming! -

c++ - error: use of deleted function -