ViewGroup.MeasureChildren(Int32, Int32) Method
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 all of the children of this view to measure themselves, taking into account both the MeasureSpec requirements for this view and its padding.
[Android.Runtime.Register("measureChildren", "(II)V", "GetMeasureChildren_IIHandler")]
protected virtual void MeasureChildren (int widthMeasureSpec, int heightMeasureSpec);
[<Android.Runtime.Register("measureChildren", "(II)V", "GetMeasureChildren_IIHandler")>]
abstract member MeasureChildren : int * int -> unit
override this.MeasureChildren : int * int -> unit
- widthMeasureSpec
- Int32
The width requirements for this view
- heightMeasureSpec
- Int32
The height requirements for this view
- Attributes
Ask all of the children of this view to measure themselves, taking into account both the MeasureSpec requirements for this view and its padding. We skip children that are in the GONE state The heavy lifting is done in getChildMeasureSpec.
Java documentation for android.view.ViewGroup.measureChildren(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.
Produkt | Wersje |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35 |