ViewGroup.LayoutParams.MatchParent Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Special value for the height or width requested by a View.
[Android.Runtime.Register("MATCH_PARENT")]
public const int MatchParent = -1;
[<Android.Runtime.Register("MATCH_PARENT")>]
val mutable MatchParent : int
Field Value
Value = -1- Attributes
Remarks
Special value for the height or width requested by a View. MATCH_PARENT means that the view wants to be as big as its parent, minus the parent's padding, if any. Introduced in API Level 8.
Java documentation for android.view.ViewGroup.LayoutParams.MATCH_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.