Udostępnij za pośrednictwem


Window.NavigationBarDividerColor Property

Definition

Retrieves the color of the navigation bar divider. -or- Shows a thin line of the specified color between the navigation bar and the app content.

public virtual int NavigationBarDividerColor { [Android.Runtime.Register("getNavigationBarDividerColor", "()I", "GetGetNavigationBarDividerColorHandler", ApiSince=28)] get; [Android.Runtime.Register("setNavigationBarDividerColor", "(I)V", "GetSetNavigationBarDividerColor_IHandler", ApiSince=28)] set; }
[<get: Android.Runtime.Register("getNavigationBarDividerColor", "()I", "GetGetNavigationBarDividerColorHandler", ApiSince=28)>]
[<set: Android.Runtime.Register("setNavigationBarDividerColor", "(I)V", "GetSetNavigationBarDividerColor_IHandler", ApiSince=28)>]
member this.NavigationBarDividerColor : int with get, set

Property Value

The color of the navigation bar divider color.

Attributes

Remarks

Property getter documentation:

Retrieves the color of the navigation bar divider.

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

Property setter documentation:

Shows a thin line of the specified color between the navigation bar and the app content.

For this to take effect, the window must be drawing the system bar backgrounds with android.view.WindowManager.LayoutParams#FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS and android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_NAVIGATION must not be set.

Java documentation for android.view.Window.setNavigationBarDividerColor(int).

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