共用方式為


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

屬性

備註

設定要繪製在群組旁的指標。

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

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於