Compartilhar via


ListPopupWindow.WrapContent Field

Definition

Alias for ViewGroup.LayoutParams#WRAP_CONTENT.

[Android.Runtime.Register("WRAP_CONTENT")]
public const int WrapContent = -2;
[<Android.Runtime.Register("WRAP_CONTENT")>]
val mutable WrapContent : int

Field Value

Value = -2
Attributes

Remarks

Alias for ViewGroup.LayoutParams#WRAP_CONTENT. If used to specify a popup width, the popup will use the width of its content.

Java documentation for android.widget.ListPopupWindow.WRAP_CONTENT.

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