語言

ListPopupWindow.SetBackgroundDrawable(Drawable) 方法

定義

設定一個繪製物作為彈出視窗的背景。

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

參數

d
Drawable

一個可以設定為背景的繪製圖。

屬性

備註

設定一個繪製物作為彈出視窗的背景。

Java 文件 android.widget.ListPopupWindow.setBackgroundDrawable(android.graphics.drawable.Drawable)。

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

適用於