public class

SegmentedHost

extends LinearLayout
java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.LinearLayout
         ↳ greendroid.widget.SegmentedHost

Class Overview

A SegmentedHost is a wrapper view that handle a SegmentedBar and a FrameLayout that hold the content. Data (titles, and content Views) are provided to the SegmentedHost via a SegmentedAdapter.

Summary

[Expand]
Inherited Constants
From class android.widget.LinearLayout
From class android.view.ViewGroup
From class android.view.View
Public Constructors
SegmentedHost(Context context)
SegmentedHost(Context context, AttributeSet attrs)
SegmentedHost(Context context, AttributeSet attrs, int defStyle)
Public Methods
FrameLayout getContentView()
SegmentedBar getSegmentedBar()
void setAdapter(SegmentedAdapter adapter)
Protected Methods
void onFinishInflate()
[Expand]
Inherited Methods
From class android.widget.LinearLayout
From class android.view.ViewGroup
From class android.view.View
From class java.lang.Object
From interface android.graphics.drawable.Drawable.Callback
From interface android.view.KeyEvent.Callback
From interface android.view.ViewManager
From interface android.view.ViewParent
From interface android.view.accessibility.AccessibilityEventSource

Public Constructors

public SegmentedHost (Context context)

public SegmentedHost (Context context, AttributeSet attrs)

public SegmentedHost (Context context, AttributeSet attrs, int defStyle)

Public Methods

public FrameLayout getContentView ()

public SegmentedBar getSegmentedBar ()

public void setAdapter (SegmentedAdapter adapter)

Protected Methods

protected void onFinishInflate ()