Animation.SetInterpolator(Context, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the acceleration curve for this animation.
[Android.Runtime.Register("setInterpolator", "(Landroid/content/Context;I)V", "GetSetInterpolator_Landroid_content_Context_IHandler")]
public virtual void SetInterpolator (Android.Content.Context? context, int resID);
[<Android.Runtime.Register("setInterpolator", "(Landroid/content/Context;I)V", "GetSetInterpolator_Landroid_content_Context_IHandler")>]
abstract member SetInterpolator : Android.Content.Context * int -> unit
override this.SetInterpolator : Android.Content.Context * int -> unit
Parameters
- context
- Context
The application environment
- resID
- Int32
The resource identifier of the interpolator to load
- Attributes
Remarks
Sets the acceleration curve for this animation. The interpolator is loaded as a resource from the specified context.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.