共用方式為


PopupWindow.Background Property

Definition

Return the drawable used as the popup window's background.

public virtual Android.Graphics.Drawables.Drawable? Background { [Android.Runtime.Register("getBackground", "()Landroid/graphics/drawable/Drawable;", "GetGetBackgroundHandler")] get; }
[<get: Android.Runtime.Register("getBackground", "()Landroid/graphics/drawable/Drawable;", "GetGetBackgroundHandler")>]
member this.Background : Android.Graphics.Drawables.Drawable

Property Value

the background drawable or null if not set

Attributes

Remarks

Return the drawable used as the popup window's background.

Java documentation for android.widget.PopupWindow.getBackground().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also