LinearLayout.SetDividerDrawable(Drawable) Method

Definition

Set a drawable to be used as a divider between items.

C#
[Android.Runtime.Register("setDividerDrawable", "(Landroid/graphics/drawable/Drawable;)V", "GetSetDividerDrawable_Landroid_graphics_drawable_Drawable_Handler")]
public virtual void SetDividerDrawable (Android.Graphics.Drawables.Drawable? divider);

Parameters

divider
Drawable

Drawable that will divide each item.

Attributes

Remarks

Set a drawable to be used as a divider between items.

Java documentation for android.widget.LinearLayout.setDividerDrawable(android.graphics.drawable.Drawable).

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

Produkt Wersje
.NET for Android .NET for Android API 34, .NET for Android API 35

See also