我讀this example,我正在嘗試使用它。我把這個繪製文件夾somth.xml
:錯誤充氣動畫資源
<animation-list android:id="selected" android:oneshot="false">
<item android:drawable="@drawable/img1" android:duration="50" />
<item android:drawable="@drawable/img2" android:duration="50" />
</animation-list>
我也把它的動畫文件夾中我嘗試添加標題,如:
<?xml version="1.0" encoding="utf-8"?>
但請給我這樣的錯誤:
XML文件中的錯誤:正在中止構建。
出了什麼問題?
您正在使用哪個API級別?你確定編譯錯誤來自這個文件嗎? –