summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Veenstra <veenstra@android.com>2009-05-27 15:07:59 -0700
committerJack Veenstra <veenstra@android.com>2009-05-27 15:07:59 -0700
commit982be3be054960fbf254f225b4aeaee0310e619f (patch)
treed58a681da226d0dedcddc099db56829863320607
parentb204d4f12773ec67c7f0ded41cb111018f154476 (diff)
downloadframeworks_base-982be3be054960fbf254f225b4aeaee0310e619f.zip
frameworks_base-982be3be054960fbf254f225b4aeaee0310e619f.tar.gz
frameworks_base-982be3be054960fbf254f225b4aeaee0310e619f.tar.bz2
Fix javadoc typos. No code changes.
Also reformatted a comment that was too long.
-rw-r--r--core/java/android/widget/TabHost.java11
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.
//