找不到与给定名称匹配的资源

时间:2011-09-15 22:08:55

标签: java android

我不断使用以下XML获取此错误。奇怪的是,如果我改变了受影响的三条线路。它仍然会出现错误,但现在提到了drawable take

<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:state_focused="true" android:state_pressed="false" android:drawable="@drawable/takeclicked" />
    <item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/takeclicked" />
    <item android:state_focused="false" android:state_pressed="true" android:drawable="@drawable/takeclicked" />
    <item android:drawable="@drawable/take" />
</selector>

0 个答案:

没有答案