ExpandableListView.SetGroupIndicator(Drawable) Method

Definition

Sets the indicator to be drawn next to a group.

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

Parameters

groupIndicator
Drawable

The drawable to be used as an indicator. If the group is empty, the state android.R.attr#state_empty will be set. If the group is expanded, the state android.R.attr#state_expanded will be set.

Attributes

Remarks

Sets the indicator to be drawn next to a group.

Java documentation for android.widget.ExpandableListView.setGroupIndicator(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