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
Post a Comment