Condividi tramite


View.SystemUiFlagImmersive Field

Definition

Flag for #setSystemUiVisibility(int): View would like to remain interactive when hiding the navigation bar with #SYSTEM_UI_FLAG_HIDE_NAVIGATION.

[Android.Runtime.Register("SYSTEM_UI_FLAG_IMMERSIVE")]
public const Android.Views.SystemUiFlags SystemUiFlagImmersive = 2048;
[<Android.Runtime.Register("SYSTEM_UI_FLAG_IMMERSIVE")>]
val mutable SystemUiFlagImmersive : Android.Views.SystemUiFlags

Field Value

Value = 2048
Attributes

Remarks

Flag for #setSystemUiVisibility(int): View would like to remain interactive when hiding the navigation bar with #SYSTEM_UI_FLAG_HIDE_NAVIGATION. If this flag is not set, #SYSTEM_UI_FLAG_HIDE_NAVIGATION will be force cleared by the system on any user interaction.

Since this flag is a modifier for #SYSTEM_UI_FLAG_HIDE_NAVIGATION, it only has an effect when used in combination with that flag.

This member is deprecated. Use WindowInsetsController#BEHAVIOR_DEFAULT instead.

Java documentation for android.view.View.SYSTEM_UI_FLAG_IMMERSIVE.

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