Udostępnij za pośrednictwem


View.LayerType Property

Definition

Indicates what type of layer is currently associated with this view.

public virtual Android.Views.LayerType LayerType { [Android.Runtime.Register("getLayerType", "()I", "GetGetLayerTypeHandler")] get; }
[<get: Android.Runtime.Register("getLayerType", "()I", "GetGetLayerTypeHandler")>]
member this.LayerType : Android.Views.LayerType

Property Value

#LAYER_TYPE_NONE, #LAYER_TYPE_SOFTWARE or #LAYER_TYPE_HARDWARE

Attributes

Remarks

Indicates what type of layer is currently associated with this view. By default a view does not have a layer, and the layer type is #LAYER_TYPE_NONE. Refer to the documentation of #setLayerType(int, android.graphics.Paint) for more information on the different types of layers.

Java documentation for android.view.View.getLayerType().

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)>
  • BuildLayer()