Udostępnij za pośrednictwem


AutoCompleteTextView.DropDownWidth Property

Definition

Returns the current width for the auto-complete drop down list. -or- Sets the current width for the auto-complete drop down list.

public virtual int DropDownWidth { [Android.Runtime.Register("getDropDownWidth", "()I", "GetGetDropDownWidthHandler")] get; [Android.Runtime.Register("setDropDownWidth", "(I)V", "GetSetDropDownWidth_IHandler")] set; }
[<get: Android.Runtime.Register("getDropDownWidth", "()I", "GetGetDropDownWidthHandler")>]
[<set: Android.Runtime.Register("setDropDownWidth", "(I)V", "GetSetDropDownWidth_IHandler")>]
member this.DropDownWidth : int with get, set

Property Value

the width for the drop down list

Attributes

Remarks

Property getter documentation:

Returns the current width for the auto-complete drop down list.

This can be a fixed width, or android.view.ViewGroup.LayoutParams#MATCH_PARENT to fill the screen, or android.view.ViewGroup.LayoutParams#WRAP_CONTENT to fit the width of its anchor view.

Java documentation for android.widget.AutoCompleteTextView.getDropDownWidth().

Property setter documentation:

Sets the current width for the auto-complete drop down list.

This can be a fixed width, or android.view.ViewGroup.LayoutParams#MATCH_PARENT to fill the screen, or android.view.ViewGroup.LayoutParams#WRAP_CONTENT to fit the width of its anchor view.

Java documentation for android.widget.AutoCompleteTextView.setDropDownWidth(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