Dela via


ActivityInfo.WindowLayout.WidthFraction Property

Definition

Width of activity as a fraction of available display width.

[Android.Runtime.Register("widthFraction", ApiSince=24)]
public float WidthFraction { get; set; }
[<Android.Runtime.Register("widthFraction", ApiSince=24)>]
member this.WidthFraction : single with get, set

Property Value

Attributes

Remarks

Width of activity as a fraction of available display width. If both #width and this value are set this one will be preferred.

Java documentation for android.content.pm.ActivityInfo.WindowLayout.widthFraction.

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