ActionBar.NavigationMode Property

Definition

This method was deprecated in API level 21.

public abstract Android.App.ActionBarNavigationMode NavigationMode { [Android.Runtime.Register("getNavigationMode", "()I", "GetGetNavigationModeHandler")] get; [Android.Runtime.Register("setNavigationMode", "(I)V", "GetSetNavigationMode_IHandler")] set; }
[<get: Android.Runtime.Register("getNavigationMode", "()I", "GetGetNavigationModeHandler")>]
[<set: Android.Runtime.Register("setNavigationMode", "(I)V", "GetSetNavigationMode_IHandler")>]
member this.NavigationMode : Android.App.ActionBarNavigationMode with get, set

Property Value

The current navigation mode. Value is one of the following: NAVIGATION_MODE_STANDARD NAVIGATION_MODE_LIST NAVIGATION_MODE_TABS

Attributes

Remarks

This method was deprecated in API level 21. Action bar navigation modes are deprecated and not supported by inline toolbar action bars. Consider using other common navigation patterns instead.

Returns the current navigation mode. The result will be one of: NAVIGATION_MODE_STANDARD NAVIGATION_MODE_LIST NAVIGATION_MODE_TABS

Android reference for android.app.ActionBar.getNavigationMode.

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