Where should I put a shape drawable in my Android folders?

前端 未结 1 1121
情歌与酒
情歌与酒 2021-01-11 15:48

I have a .xml file representing a shape and 5 drawable-*** folders (for hdpi, ldp, mdpi, xhdpi, xxhdpi).

Since this is a shape, I assume I

相关标签:
1条回答
  • 2021-01-11 16:47

    Yes, you can have a res/drawable folder, i.e. no suffix. It will be used for all resolutions. You can also use the -nodpi suffix, see Supporting Multiple Screens for details.

    0 讨论(0)
提交回复
热议问题