ExpandableListView.SetGroupIndicator(Drawable) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定指示器在群組旁邊繪製。
[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 所創建與分享的作品,並依授權條款所描述的使用進行修改。