Share via


LayerDrawable.PaddingMode Property

Definition

Specifies how layer padding should affect the bounds of subsequent layers.

public virtual int PaddingMode { [Android.Runtime.Register("getPaddingMode", "()I", "GetGetPaddingModeHandler")] get; [Android.Runtime.Register("setPaddingMode", "(I)V", "GetSetPaddingMode_IHandler")] set; }
[<get: Android.Runtime.Register("getPaddingMode", "()I", "GetGetPaddingModeHandler")>]
[<set: Android.Runtime.Register("setPaddingMode", "(I)V", "GetSetPaddingMode_IHandler")>]
member this.PaddingMode : int with get, set

Property Value

the current padding mode

Attributes

Remarks

Property getter documentation:

Java documentation for android.graphics.drawable.LayerDrawable.getPaddingMode().

Property setter documentation:

Specifies how layer padding should affect the bounds of subsequent layers. The default value is #PADDING_MODE_NEST.

Java documentation for android.graphics.drawable.LayerDrawable.setPaddingMode(int).

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