我创建源文件:loadanim.xml:
<?xml version="1.0" encoding="utf-8" ?>
<animation-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/abc1" android:duration="60" />
<item android:drawable="@drawable/abc2" android:duration="60" />
</animation-list>
当我建造时,R 不是自动生成的。混乱错误:R无法解决....但是当我<item>
在文件中清除时:
<?xml version="1.0" encoding="utf-8" ?>
<animation-list xmlns:android="http://schemas.android.com/apk/res/android">
//Clear
</animation-list>
并建立 >> 类 R 创建。现在,我能做到吗?太糟了 ...