ActivityInfo.WindowLayout.MinWidth Property

Definition

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

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

Property Value

Attributes

Remarks

Minimal width 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 width, then the system will set the same minimal width on all other activities in the task. It will also ignore any other minimal width attributes of non-root activities.

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

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