ActionBar.RemoveTab(ActionBar+Tab) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
deprecated
This method was deprecated in API level 21.
[Android.Runtime.Register("removeTab", "(Landroid/app/ActionBar$Tab;)V", "GetRemoveTab_Landroid_app_ActionBar_Tab_Handler")]
[System.Obsolete("deprecated")]
public abstract void RemoveTab(Android.App.ActionBar.Tab? tab);
[<Android.Runtime.Register("removeTab", "(Landroid/app/ActionBar$Tab;)V", "GetRemoveTab_Landroid_app_ActionBar_Tab_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member RemoveTab : Android.App.ActionBar.Tab -> unit
Parameters
- tab
- ActionBar.Tab
ActionBar.Tab: The tab to remove
- 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.
Remove a tab from the action bar. If the removed tab was selected it will be deselected and another tab will be selected if present.
Android reference for android.app.ActionBar.removeTab.
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.