Udostępnij za pośrednictwem


ActivityInfo.WindowLayout.HeightFraction Property

Definition

Height of activity as a fraction of available display height.

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

Property Value

Attributes

Remarks

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

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

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