Example usage for android.app TabActivity getTabWidget

List of usage examples for android.app TabActivity getTabWidget

Introduction

In this page you can find the example usage for android.app TabActivity getTabWidget.

Prototype

public TabWidget getTabWidget() 

Source Link

Document

Returns the TabWidget the activity is using to draw the actual tabs.

Usage

From source file:Main.java

private static void HideTabs(TabActivity tabActivity) {
    tabActivity.getTabWidget().getChildAt(0).setVisibility(View.GONE);
    tabActivity.getTabWidget().getChildAt(1).setVisibility(View.GONE);
    tabActivity.getTabWidget().getChildAt(2).setVisibility(View.GONE);
    tabActivity.getTabWidget().getChildAt(3).setVisibility(View.GONE);
}