Share via


ActionBar.RemoveTabAt(Int32) Method

Definition

Caution

deprecated

Remove a tab from the action bar.

[Android.Runtime.Register("removeTabAt", "(I)V", "GetRemoveTabAt_IHandler")]
[System.Obsolete("deprecated")]
public abstract void RemoveTabAt (int position);
[<Android.Runtime.Register("removeTabAt", "(I)V", "GetRemoveTabAt_IHandler")>]
[<System.Obsolete("deprecated")>]
abstract member RemoveTabAt : int -> unit

Parameters

position
Int32

Position of the tab to remove

Attributes

Remarks

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.

This member is deprecated. Action bar navigation modes are deprecated and not supported by inline toolbar action bars. Consider using other common navigation patterns instead.

Java documentation for android.app.ActionBar.removeTabAt(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