AnimationDrawable Error on button click
问题 I believe my xml is correct, but I'm not sure what's causing this error in my code. I am trying to attempt animationdrawable on an imagebutton, but each time I click my button I get an error. Here is my animation-list "music_icon": <animation-list xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/selected" android:oneshot="true"> <item android:drawable="@drawable/musicon1" android:duration="50" /> <item android:drawable="@drawable/musicon2" android:duration="50" />