我尝试创建自定义的LinearLayout和Button样式。
我想知道我的Selector xml文件应该放在哪里?
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape>
<gradient
android:angle="90"
android:startColor="#534E4E"
android:endColor="#000000"
android:type="linear" />
</shape>
</item>
在我的Mono项目中,我把文件放在drawable文件夹中,但是在我的Java(本地)开发中,我可能错过了存储文件的基础知识,但还是不知道应该把我的选择器放在哪里,因为最新的Eclipse插件有4个绘图资源(-ldpi,-hdpi,mdpi和xhdpi)。
/drawable
。 - Sherif elKhatib