41.7 Creating a Custom Interpolator
A custom interpolator must be declared in a separate XML file and stored within the res/anim folder of the project. The name of the XML file will be used by the Android system as the resource ID for the custom interpolator.
Within the custom interpolator XML resource file, the syntax should read as follows:
<?xml version="1.0" encoding="utf-8"?>
<interpolatorElement xmlns:android="http://schemas.android.com/apk/res/android" android:attribute="value" />
In the above syntax, interpolatorElement must be replaced with the element name of the required interpolator selected from the following list:
•accelerateDecelerateInterpolator
•accelerateInterpolator
•anticipateInterpolator
•anticipateOvershootInterpolator
•bounceInterpolator
•cycleInterpolator
•decelerateInterpolator
•linearInterpolator
•overshootInterpolator...