Udostępnij za pośrednictwem


WindowManagerLayoutParams.PreferredDisplayModeId Property

Definition

Id of the preferred display mode for the window.

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

Property Value

Attributes

Remarks

Id of the preferred display mode for the window.

This must be one of the supported modes obtained for the display(s) the window is on. A value of 0 means no preference.

Java documentation for android.view.WindowManager.LayoutParams.preferredDisplayModeId.

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