Android - I don't seem to have the ANIM folder or the MAINANIM.xml document… why is this?

不羁岁月 提交于 2019-12-12 18:24:07

问题


No matter where I look in the res directory there is only main.xml and I am supposed to have res/anim/mainanim.xml but I don't have it.

My code is here: Frame-by-frame animations

I also keep getting in the java document, "id and anim cannot be resolved or is not a field" error. What am I doing wrong?


回答1:


Mia, to create the folder, go to where you saved the project on your computer and create the folder yourself and refresh Eclipse. Or in Eclipse, right click on the "res" folder, say new -> folder and name it "anim".



来源:https://stackoverflow.com/questions/3293972/android-i-dont-seem-to-have-the-anim-folder-or-the-mainanim-xml-document-w

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!