OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TabHelper
(Results
1 - 5
of
5
) sorted by null
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/
TabCompatActivity.java
19
import com.example.android.tabcompat.lib.
TabHelper
;
25
* A base activity that defers tab functionality to a {@link
TabHelper
}.
28
* level 5 and above. Using this class along with the {@link
TabHelper
} and {@link com.example.android.tabcompat.lib.CompatTab}
32
* The {@link
TabHelper
} APIs obfuscate all the compatibility work for you.
36
TabHelper
mTabHelper;
41
mTabHelper =
TabHelper
.createInstance(this);
57
* Returns the {@link
TabHelper
} for this activity.
59
protected
TabHelper
getTabHelper() {
TabHelper.java
27
* Call {@link TabCompatActivity#getTabHelper()}, returning a {@link
TabHelper
}.
31
* Call {@link
TabHelper
#newTab(String)} to create each tab.
35
* Call {@link
TabHelper
#addTab(CompatTab)} for each tab, and you're done.
37
public abstract class
TabHelper
{
41
protected
TabHelper
(FragmentActivity activity) {
46
* Factory method for creating
TabHelper
objects for a given activity. Depending on which device
51
public static
TabHelper
createInstance(FragmentActivity activity) {
TabHelperHoneycomb.java
29
public class TabHelperHoneycomb extends
TabHelper
{
TabHelperEclair.java
42
public class TabHelperEclair extends
TabHelper
implements TabHost.OnTabChangeListener {
/development/samples/training/TabCompat/src/com/example/android/tabcompat/
MainActivity.java
22
import com.example.android.tabcompat.lib.
TabHelper
;
40
TabHelper
tabHelper
= getTabHelper();
42
CompatTab photosTab =
tabHelper
.newTab("photos")
46
tabHelper
.addTab(photosTab);
48
CompatTab videosTab =
tabHelper
.newTab("videos")
52
tabHelper
.addTab(videosTab);
Completed in 3983 milliseconds