I've updated my SDK to the newest version, but now I am getting a lint error.
Error: Expected resource of type animator [ResourceType]
The error occurs on this line:
AnimatorInflater.loadAnimator(context, R.anim.right_slide_in)
The referenced resource /res/anim/right_slide_in.xml
looks like this:
<?xml version="1.0" encoding="utf-8"?>
<objectAnimator xmlns:android="http://schemas.android.com/apk/res/android"
android:interpolator="@android:anim/linear_interpolator"
android:valueTo="0"
android:valueFrom="1.0"
android:propertyName="xFraction"
android:valueType="floatType"
android:duration="450" />
It always worked before. Could somebody explain why I am getting that error?