I’ve got resources for different screens in drawable-ldpi, drawable-ldpi, drawable-mdpi. Where should I place Statelist file? I mean, that xml could be one for all types of resources, so in what folder shoudl I place it?
I’ve got resources for different screens in drawable-ldpi, drawable-ldpi, drawable-mdpi. Where should I place
Share
You can create a folder inside
/res:drawable, and put your state list xml in that folder.It can be referenced as
R.drawable.your_state_list.This way you will have only one xml which will be used for all the resolutions.
If you have other common drawables, you can place them here too.