added in version 22.1.0
belongs to Maven artifact com.android.support:support-v13:28.0.0-alpha1
Deprecated since version 27.1.0

FragmentTabHost

public class FragmentTabHost
extends TabHost implements TabHost.OnTabChangeListener

java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.FrameLayout
         ↳ android.widget.TabHost
           ↳ android.support.v13.app.FragmentTabHost


This class was deprecated in API level 27.1.0.
Use FragmentTabHost instead.

Version of FragmentTabHost that can be used with the platform Fragment APIs. You will not normally use this, instead using action bar tabs.

Summary

Inherited constants

From class android.view.ViewGroup
From class android.view.View

Inherited fields

From class android.view.View

Public constructors

FragmentTabHost(Context context)

This constructor was deprecated in API level 27.1.0. Use FragmentTabHost instead.

FragmentTabHost(Context context, AttributeSet attrs)

This constructor was deprecated in API level 27.1.0. Use FragmentTabHost instead.

Public methods

void addTab(TabHost.TabSpec tabSpec, Class<?> clss, Bundle args)

This method was deprecated in API level 27.1.0. Use FragmentTabHost instead.

void onTabChanged(String tabId)

This method was deprecated in API level 27.1.0. Use FragmentTabHost instead.

void setOnTabChangedListener(TabHost.OnTabChangeListener l)

This method was deprecated in API level 27.1.0. Use FragmentTabHost instead.

void setup()

This method was deprecated in API level 26.1.0. Use FragmentTabHost instead.

void setup(Context context, FragmentManager manager, int containerId)

This method was deprecated in API level 27.1.0. Use FragmentTabHost instead.

void setup(Context context, FragmentManager manager)

This method was deprecated in API level 27.1.0. Use FragmentTabHost instead.

Protected methods

void onAttachedToWindow()

This method was deprecated in API level 27.1.0. Use FragmentTabHost instead.

void onDetachedFromWindow()

This method was deprecated in API level 27.1.0. Use FragmentTabHost instead.

void onRestoreInstanceState(Parcelable state)

This method was deprecated in API level 27.1.0. Use FragmentTabHost instead.

Parcelable onSaveInstanceState()

This method was deprecated in API level 27.1.0. Use FragmentTabHost instead.

Inherited methods

From class android.widget.TabHost
From class android.widget.FrameLayout
From class android.view.ViewGroup
From class android.view.View