Megosztás a következőn keresztül:


AutoCompleteTextView.DropDownHeight Property

Definition

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

public virtual int DropDownHeight { [Android.Runtime.Register("getDropDownHeight", "()I", "GetGetDropDownHeightHandler")] get; [Android.Runtime.Register("setDropDownHeight", "(I)V", "GetSetDropDownHeight_IHandler")] set; }
[<get: Android.Runtime.Register("getDropDownHeight", "()I", "GetGetDropDownHeightHandler")>]
[<set: Android.Runtime.Register("setDropDownHeight", "(I)V", "GetSetDropDownHeight_IHandler")>]
member this.DropDownHeight : int with get, set

Property Value

the height for the drop down list

Attributes

Remarks

Property getter documentation:

Returns the current height 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.getDropDownHeight().

Property setter documentation:

Sets the current height 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.setDropDownHeight(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