Compartir a través de


LayerDrawable.BottomPadding Property

Definition

Returns the bottom padding in pixels.

public virtual int BottomPadding { [Android.Runtime.Register("getBottomPadding", "()I", "GetGetBottomPaddingHandler", ApiSince=23)] get; }
[<get: Android.Runtime.Register("getBottomPadding", "()I", "GetGetBottomPaddingHandler", ApiSince=23)>]
member this.BottomPadding : int

Property Value

the bottom padding in pixels, or -1 if not explicitly specified

Attributes

Remarks

Returns the bottom padding in pixels.

A return value of -1 means there is no explicit padding set for this dimension. As a result, the value for this dimension returned by #getPadding(Rect) will be computed from the child layers according to the padding mode (see #getPaddingMode().

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

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