Partager via


LinearLayout.SetDividerDrawable(Drawable) Method

Definition

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

[Android.Runtime.Register("setDividerDrawable", "(Landroid/graphics/drawable/Drawable;)V", "GetSetDividerDrawable_Landroid_graphics_drawable_Drawable_Handler")]
public virtual void SetDividerDrawable (Android.Graphics.Drawables.Drawable? divider);
[<Android.Runtime.Register("setDividerDrawable", "(Landroid/graphics/drawable/Drawable;)V", "GetSetDividerDrawable_Landroid_graphics_drawable_Drawable_Handler")>]
abstract member SetDividerDrawable : Android.Graphics.Drawables.Drawable -> unit
override this.SetDividerDrawable : Android.Graphics.Drawables.Drawable -> unit

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

See also