LayerDrawable.PaddingMode Property
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.
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.