ActionBar.SelectedTab Property

Definition

This method was deprecated in API level 21.

public abstract Android.App.ActionBar.Tab? SelectedTab { [Android.Runtime.Register("getSelectedTab", "()Landroid/app/ActionBar$Tab;", "GetGetSelectedTabHandler")] get; }
[<get: Android.Runtime.Register("getSelectedTab", "()Landroid/app/ActionBar$Tab;", "GetGetSelectedTabHandler")>]
member this.SelectedTab : Android.App.ActionBar.Tab

Property Value

The currently selected tab or null

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 currently selected tab if in tabbed navigation mode and there is at least one tab present.

Android reference for android.app.ActionBar.getSelectedTab.

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