Spinner.SetPopupBackgroundResource(Int32) Method

Definition

Set the background drawable for the spinner's popup window of choices.

[Android.Runtime.Register("setPopupBackgroundResource", "(I)V", "GetSetPopupBackgroundResource_IHandler")]
public virtual void SetPopupBackgroundResource (int resId);
[<Android.Runtime.Register("setPopupBackgroundResource", "(I)V", "GetSetPopupBackgroundResource_IHandler")>]
abstract member SetPopupBackgroundResource : int -> unit
override this.SetPopupBackgroundResource : int -> unit

Parameters

resId
Int32

Resource ID of a background drawable

Attributes

Remarks

Set the background drawable for the spinner's popup window of choices. Only valid in #MODE_DROPDOWN; this method is a no-op in other modes.

Java documentation for android.widget.Spinner.setPopupBackgroundResource(int).

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