I started some android programming and I am trying to do some animation in my activity. but all references are using interpolators and files from res/anim folder which I can't find in my project. Also, when I am using R.anim I am getting an error that it doesn't exist.
Is there any API to download?
Thank you
You need to import the R file. You should see something like below in the import list of your class file.
import <your.app.package>.R
I had the same problem, and none of the solutions above worked.
In the end, I got it to work by referencing it as android.R.anim
as explained here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With