Freigeben über


ViewGroup.LayoutParams.FillParent Field

Definition

Caution

deprecated

Special value for the height or width requested by a View.

[Android.Runtime.Register("FILL_PARENT")]
[System.Obsolete("deprecated")]
public const int FillParent = -1;
[<Android.Runtime.Register("FILL_PARENT")>]
[<System.Obsolete("deprecated")>]
val mutable FillParent : int

Field Value

Value = -1
Attributes

Remarks

Special value for the height or width requested by a View. FILL_PARENT means that the view wants to be as big as its parent, minus the parent's padding, if any. This value is deprecated starting in API Level 8 and replaced by #MATCH_PARENT.

Java documentation for android.view.ViewGroup.LayoutParams.FILL_PARENT.

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