Language

ActivityAttribute.MaxAspectRatio Property

Definition

Gets or sets the maximum aspect ratio declared for the activity.

public float MaxAspectRatio { get; set; }
member this.MaxAspectRatio : single with get, set

Property Value

The declared ratio of the longer display dimension to the shorter dimension, written to android:maxAspectRatio.

Remarks

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