Share via


LinearLayout.DividerPadding Property

Definition

Get the padding size used to inset dividers in pixels -or- Set padding displayed on both ends of dividers.

public virtual int DividerPadding { [Android.Runtime.Register("getDividerPadding", "()I", "GetGetDividerPaddingHandler")] get; [Android.Runtime.Register("setDividerPadding", "(I)V", "GetSetDividerPadding_IHandler")] set; }
[<get: Android.Runtime.Register("getDividerPadding", "()I", "GetGetDividerPaddingHandler")>]
[<set: Android.Runtime.Register("setDividerPadding", "(I)V", "GetSetDividerPadding_IHandler")>]
member this.DividerPadding : int with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Get the padding size used to inset dividers in pixels

Java documentation for android.widget.LinearLayout.getDividerPadding().

Property setter documentation:

Set padding displayed on both ends of dividers. For a vertical layout, the padding is applied to left and right end of dividers. For a horizontal layout, the padding is applied to top and bottom end of dividers.

Java documentation for android.widget.LinearLayout.setDividerPadding(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