Spinner.SetPopupBackgroundResource(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.