次の方法で共有


LinearLayout.MeasureWithLargestChildEnabled Property

Definition

When true, all children with a weight will be considered having the minimum size of the largest child. -or- When set to true, all children with a weight will be considered having the minimum size of the largest child.

public virtual bool MeasureWithLargestChildEnabled { [Android.Runtime.Register("isMeasureWithLargestChildEnabled", "()Z", "GetIsMeasureWithLargestChildEnabledHandler")] get; [Android.Runtime.Register("setMeasureWithLargestChildEnabled", "(Z)V", "GetSetMeasureWithLargestChildEnabled_ZHandler")] set; }
[<get: Android.Runtime.Register("isMeasureWithLargestChildEnabled", "()Z", "GetIsMeasureWithLargestChildEnabledHandler")>]
[<set: Android.Runtime.Register("setMeasureWithLargestChildEnabled", "(Z)V", "GetSetMeasureWithLargestChildEnabled_ZHandler")>]
member this.MeasureWithLargestChildEnabled : bool with get, set

Property Value

True to measure children with a weight using the minimum size of the largest child, false otherwise.

Attributes

Remarks

Property getter documentation:

When true, all children with a weight will be considered having the minimum size of the largest child. If false, all children are measured normally.

Java documentation for android.widget.LinearLayout.isMeasureWithLargestChildEnabled().

Property setter documentation:

When set to true, all children with a weight will be considered having the minimum size of the largest child. If false, all children are measured normally.

Disabled by default.

Java documentation for android.widget.LinearLayout.setMeasureWithLargestChildEnabled(boolean).

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