TabWidget

Class of android.widget · TabWidget.java · Android's reference

public class TabWidget extends LinearLayout

TabWidget ← LinearLayout ← ViewGroup ← View

The row of tab indicators of a TabHost. A click on an indicator selects its tab.

Constructors

public TabWidget(Context context) source
public TabWidget(Context context, AttributeSet attrs) source
public TabWidget(Context context, AttributeSet attrs, int defStyleAttr) source
public TabWidget(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) source

Methods

public View getChildTabViewAt(int index) source
public int getTabCount() source
public void setDividerDrawable(Drawable drawable) source
public void setDividerDrawable(int resId) source
public void setLeftStripDrawable(Drawable drawable) source
public void setLeftStripDrawable(int resId) source
public Drawable getLeftStripDrawable() source
public void setRightStripDrawable(Drawable drawable) source
public void setRightStripDrawable(int resId) source
public Drawable getRightStripDrawable() source
public void setStripEnabled(boolean stripEnabled) source
public boolean isStripEnabled() source
public void setCurrentTab(int index) source
public void focusCurrentTab(int index) source
public void setEnabled(boolean enabled) source
protected void onViewAdded(View child) source
public void removeAllViews() source
public CharSequence getAccessibilityClassName() source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.