共用方式為


ViewGroup.LayoutParams.Height Property

Definition

Information about how tall the view wants to be.

[Android.Runtime.Register("height")]
public int Height { get; set; }
[<Android.Runtime.Register("height")>]
member this.Height : int with get, set

Property Value

Attributes

Remarks

Information about how tall the view wants to be. Can be one of the constants FILL_PARENT (replaced by MATCH_PARENT in API Level 8) or WRAP_CONTENT, or an exact size.

Java documentation for android.view.ViewGroup.LayoutParams.height.

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