diff options
author | Android (Google) Code Review <android-gerrit@google.com> | 2009-05-29 15:07:45 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2009-05-29 15:07:45 -0700 |
commit | f422dc495ae092e8354b383a21f47b43ea698939 (patch) | |
tree | eb044935a4ea396131dbbee5a73dcadec3f80d20 | |
parent | 2d75410f20653858f358237ae9bd09b053fe8f8f (diff) | |
parent | 982be3be054960fbf254f225b4aeaee0310e619f (diff) | |
download | frameworks_base-f422dc495ae092e8354b383a21f47b43ea698939.zip frameworks_base-f422dc495ae092e8354b383a21f47b43ea698939.tar.gz frameworks_base-f422dc495ae092e8354b383a21f47b43ea698939.tar.bz2 |
Merge change 2566 into donut
* changes:
Fix javadoc typos. No code changes.
-rw-r--r-- | core/java/android/widget/TabHost.java | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/core/java/android/widget/TabHost.java b/core/java/android/widget/TabHost.java index dc2c70d..5bf8035 100644 --- a/core/java/android/widget/TabHost.java +++ b/core/java/android/widget/TabHost.java @@ -87,8 +87,9 @@ public class TabHost extends FrameLayout implements ViewTreeObserver.OnTouchMode /** - * <p>Call setup() before adding tabs if loading TabHost using findViewById(). <i><b>However</i></b>: You do - * not need to call setup() after getTabHost() in {@link android.app.TabActivity TabActivity}. + * <p>Call setup() before adding tabs if loading TabHost using findViewById(). + * <i><b>However</i></b>: You do not need to call setup() after getTabHost() + * in {@link android.app.TabActivity TabActivity}. * Example:</p> <pre>mTabHost = (TabHost)findViewById(R.id.tabhost); mTabHost.setup(); @@ -363,14 +364,14 @@ mTabHost.addTab(TAB_TAG_1, "Hello, world!", "Tab 1"); * * @param tag * Which tab was selected. - * @return The view to distplay the contents of the selected tab. + * @return The view to display the contents of the selected tab. */ View createTabContent(String tag); } /** - * A tab has a tab indictor, content, and a tag that is used to keep + * A tab has a tab indicator, content, and a tag that is used to keep * track of it. This builder helps choose among these options. * * For the tab indicator, your choices are: @@ -607,7 +608,7 @@ mTabHost.addTab(TAB_TAG_1, "Hello, world!", "Tab 1"); } mLaunchedView = wd; - // XXX Set FOCUS_AFTER_DESCENDANTS on embedded activies for now so they can get + // XXX Set FOCUS_AFTER_DESCENDANTS on embedded activities for now so they can get // focus if none of their children have it. They need focus to be able to // display menu items. // |