語言

ExpandableListView.SetGroupIndicator(Drawable) 方法

定義

設定指示器在群組旁邊繪製。

[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

參數

groupIndicator
Drawable

可繪圖圖作為指示。 若群組為空,狀態 android.R.attr#state_empty 將被設定。 若群被擴展, android.R.attr#state_expanded 狀態將被設定。

屬性

備註

設定指示器在群組旁邊繪製。

Java 文件 android.widget.ExpandableListView.setGroupIndicator(android.graphics.drawable.Drawable)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於