Läs på engelska

Dela via


ViewGroup.LayoutParams.Width Property

Definition

Information about how wide the view wants to be.

C#
[Android.Runtime.Register("width")]
public int Width { get; set; }

Property Value

Attributes

Remarks

Information about how wide 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.width.

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

Produkt Versioner
.NET for Android .NET for Android API 34, .NET for Android API 35