See Also: ViewGroup+LayoutParams
public class ViewGroup.LayoutParams : Object
LayoutParams are used by views to tell their parents how they want to be laid out. See NoType:android/R$styleable;Href=../../../reference/android/R.styleable.html#ViewGroup_Layout for a list of all child view attributes that this class supports.
The base LayoutParams class just describes how big the view wants to be for both width and height. For each dimension, it can specify one of:
- FILL_PARENT (renamed MATCH_PARENT in API Level 8 and higher), which means that the view wants to be as big as its parent (minus padding)
- WRAP_CONTENT, which means that the view wants to be just big enough to enclose its content (plus padding)
- an exact number
For more information about creating user interface layouts, read the XML Layouts developer guide.
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1
The members of Android.Views.ViewGroup.LayoutParams are listed below.
See Also: Object