ViewPropertyAnimator.WithLayer Method

Definition

The View associated with this ViewPropertyAnimator will have its View#setLayerType(int, android.graphics.Paint) layer type set to View#LAYER_TYPE_HARDWARE for the duration of the next animation.

[Android.Runtime.Register("withLayer", "()Landroid/view/ViewPropertyAnimator;", "GetWithLayerHandler")]
public virtual Android.Views.ViewPropertyAnimator? WithLayer ();
[<Android.Runtime.Register("withLayer", "()Landroid/view/ViewPropertyAnimator;", "GetWithLayerHandler")>]
abstract member WithLayer : unit -> Android.Views.ViewPropertyAnimator
override this.WithLayer : unit -> Android.Views.ViewPropertyAnimator

Returns

ViewPropertyAnimator

This object, allowing calls to methods in this class to be chained.

Attributes

Remarks

Java documentation for android.view.ViewPropertyAnimator.withLayer().

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.

Applies to

See also

  • <xref:Android.Views.View.SetLayerType(Android.Views.LayerType%2c+Android.Graphics.Paint)>