Dela via


ActivityInfo.WindowLayout.MinHeight Property

Definition

Minimal height of activity in pixels to be able to display its content.

[Android.Runtime.Register("minHeight", ApiSince=24)]
public int MinHeight { get; set; }
[<Android.Runtime.Register("minHeight", ApiSince=24)>]
member this.MinHeight : int with get, set

Property Value

Attributes

Remarks

Minimal height of activity in pixels to be able to display its content.

<strong>NOTE:</strong> A task's root activity value is applied to all additional activities launched in the task. That is if the root activity of a task set minimal height, then the system will set the same minimal height on all other activities in the task. It will also ignore any other minimal height attributes of non-root activities.

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

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