ActionBar.SelectTab(ActionBar+Tab) Method

Definition

Caution

deprecated

This method was deprecated in API level 21.

[Android.Runtime.Register("selectTab", "(Landroid/app/ActionBar$Tab;)V", "GetSelectTab_Landroid_app_ActionBar_Tab_Handler")]
[System.Obsolete("deprecated")]
public abstract void SelectTab(Android.App.ActionBar.Tab? tab);
[<Android.Runtime.Register("selectTab", "(Landroid/app/ActionBar$Tab;)V", "GetSelectTab_Landroid_app_ActionBar_Tab_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member SelectTab : Android.App.ActionBar.Tab -> unit

Parameters

tab
ActionBar.Tab

ActionBar.Tab: Tab to select

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.

Select the specified tab. If it is not a child of this action bar it will be added. Note: If you want to select by index, use setSelectedNavigationItem(int).

Android reference for android.app.ActionBar.selectTab.

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