我有两个问题与存储相应文件夹中的可绘制对象有关,即.. ldpi、mdpi..我在任何地方都找不到答案。
- 我的文件夹如下:
由于我拥有所有可能的文件夹名称,即ldpi、mdpi、hdpi、xhdpi、xxhdpi,我应该删除默认的drawable文件夹吗?
还是应该将所有文件从drawable-mdpi移动到默认的drawable文件夹并删除drawable-mdpi文件夹?
I am using few xml files as drawables, which are selectors, custom backgrounds etc.. Which contain the image references like
<item android:drawable="@drawable/ic_vote_clicked" android:state_pressed="true"/> <item android:drawable="@drawable/ic_vote_clicked" android:state_focused="true"/> <item android:drawable="@drawable/ic_vote"/>
无论如何,像
@drawable/ic_vote
的png文件都在每个文件夹中。