Window.NavigationBarContrastEnforced Property

Definition

Returns whether the system is ensuring that the navigation bar has enough contrast when a fully transparent background is requested. -or- Sets whether the system should ensure that the navigation bar has enough contrast when a fully transparent background is requested.

public virtual bool NavigationBarContrastEnforced { [Android.Runtime.Register("isNavigationBarContrastEnforced", "()Z", "GetIsNavigationBarContrastEnforcedHandler", ApiSince=29)] get; [Android.Runtime.Register("setNavigationBarContrastEnforced", "(Z)V", "GetSetNavigationBarContrastEnforced_ZHandler", ApiSince=29)] set; }
[<get: Android.Runtime.Register("isNavigationBarContrastEnforced", "()Z", "GetIsNavigationBarContrastEnforcedHandler", ApiSince=29)>]
[<set: Android.Runtime.Register("setNavigationBarContrastEnforced", "(Z)V", "GetSetNavigationBarContrastEnforced_ZHandler", ApiSince=29)>]
member this.NavigationBarContrastEnforced : bool with get, set

Property Value

Boolean

true, if the system is ensuring contrast, false otherwise.

Attributes

Remarks

Property getter documentation:

Java documentation for android.view.Window.isNavigationBarContrastEnforced().

Property setter documentation:

Java documentation for android.view.Window.setNavigationBarContrastEnforced(boolean).

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