ViewGroup.MeasureChild(View, Int32, Int32) Method
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.
Ask one of the children of this view to measure itself, taking into account both the MeasureSpec requirements for this view and its padding.
[Android.Runtime.Register("measureChild", "(Landroid/view/View;II)V", "GetMeasureChild_Landroid_view_View_IIHandler")]
protected virtual void MeasureChild (Android.Views.View? child, int parentWidthMeasureSpec, int parentHeightMeasureSpec);
[<Android.Runtime.Register("measureChild", "(Landroid/view/View;II)V", "GetMeasureChild_Landroid_view_View_IIHandler")>]
abstract member MeasureChild : Android.Views.View * int * int -> unit
override this.MeasureChild : Android.Views.View * int * int -> unit
Parameters
- child
- View
The child to measure
- parentWidthMeasureSpec
- Int32
The width requirements for this view
- parentHeightMeasureSpec
- Int32
The height requirements for this view
- Attributes
Remarks
Ask one of the children of this view to measure itself, taking into account both the MeasureSpec requirements for this view and its padding. The heavy lifting is done in getChildMeasureSpec.
Java documentation for android.view.ViewGroup.measureChild(android.view.View, int, 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.