语言

ExpandableListView.SetChildIndicator(Drawable) 方法

定义

设置要绘制在子级旁边的指示器。

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

参数

childIndicator
Drawable

要用作指示器的可绘制对象。 如果子级是组的最后一个子级,则会设置状态 android.R.attr#state_last 。

属性

注解

设置要绘制在子级旁边的指示器。

Java文档android.widget.ExpandableListView.setChildIndicator(android.graphics.drawable.Drawable)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于