最終更新:2012-10-18 (木) 13:19:18 (4207d)
android.widget.TabHost
Top / android.widget.TabHost
Container for a tabbed window view.
http://developer.android.com/reference/android/widget/TabHost.html
メモ
- タブを選択した時に、それぞれ別のアクティビティがフレームレイアウト (Framelayout) の中にロードされる
親クラス
- java.lang.Object - android.view.View - android.view.ViewGroup - android.widget.FrameLayout - android.widget.TabHost
メソッド
- TabHost.addTab?(TabHost.TabSpec? tabSpec)
- TabHost.clearAllTabs?()
- TabHost.dispatchKeyEvent?(KeyEvent event)
- TabHost.dispatchWindowFocusChanged?(boolean hasFocus)
- TabHost.getCurrentTab?() - アクティビティを切り替える
- TabHost.getCurrentTabTag?()
- TabHost.getCurrentTabView?()
- TabHost.getCurrentView?()
- TabHost.getTabContentView?()
- TabHost.getTabWidget?()
- TabHost.newTabSpec?(String tag)
- TabHost.onInitializeAccessibilityEvent?(AccessibilityEvent? event)
- TabHost.onInitializeAccessibilityNodeInfo?(AccessibilityNodeInfo? info)
- TabHost.onTouchModeChanged?(boolean isInTouchMode?)
- TabHost.sendAccessibilityEvent?(int eventType)
- TabHost.setCurrentTab?(int index)
- TabHost.setCurrentTabByTag?(String tag)
- TabHost.setOnTabChangedListener?(TabHost.OnTabChangeListener? l)
- TabHost.setup?()
- TabHost.setup?(LocalActivityManager? activityGroup)
android.widget.TabHost.TabSpec
- A tab has a tab indicator, content, and a tag that is used to keep track of it.