ArrayAdapter.SetDropDownViewResource(Int32) 方法

定义

设置布局资源以创建下拉列表视图。

[Android.Runtime.Register("setDropDownViewResource", "(I)V", "GetSetDropDownViewResource_IHandler")]
public virtual void SetDropDownViewResource(int resource);
[<Android.Runtime.Register("setDropDownViewResource", "(I)V", "GetSetDropDownViewResource_IHandler")>]
abstract member SetDropDownViewResource : int -> unit
override this.SetDropDownViewResource : int -> unit

参数

resource
Int32

定义下拉视图的布局资源

属性

注解

设置布局资源以创建下拉列表视图。

Java文档android.widget.ArrayAdapter.setDropDownViewResource(int)

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于