diff options
author | Scott Main <smain@google.com> | 2010-08-19 16:57:07 -0700 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2010-09-28 01:52:28 -0400 |
commit | c6062cfb0aa24946d0fffc443304a163f2fdcb1c (patch) | |
tree | 59e134408ae7165051f14bdd2a37504e2a9c2ce4 /core/java/android/widget | |
parent | 81ed751a1dcf1e7c722db2cdded38bef4308a1c5 (diff) | |
download | frameworks_base-c6062cfb0aa24946d0fffc443304a163f2fdcb1c.zip frameworks_base-c6062cfb0aa24946d0fffc443304a163f2fdcb1c.tar.gz frameworks_base-c6062cfb0aa24946d0fffc443304a163f2fdcb1c.tar.bz2 |
docs: add links from widget classes to tutorials
Change-Id: I817e885524951853182b0458df4a32dea1614243
Diffstat (limited to 'core/java/android/widget')
-rw-r--r-- | core/java/android/widget/AutoCompleteTextView.java | 3 | ||||
-rw-r--r-- | core/java/android/widget/Button.java | 3 | ||||
-rw-r--r-- | core/java/android/widget/CheckBox.java | 3 | ||||
-rw-r--r-- | core/java/android/widget/DatePicker.java | 3 | ||||
-rw-r--r-- | core/java/android/widget/EditText.java | 3 | ||||
-rw-r--r-- | core/java/android/widget/Gallery.java | 3 | ||||
-rw-r--r-- | core/java/android/widget/GridView.java | 3 | ||||
-rw-r--r-- | core/java/android/widget/ImageButton.java | 3 | ||||
-rw-r--r-- | core/java/android/widget/LinearLayout.java | 3 | ||||
-rw-r--r-- | core/java/android/widget/ListView.java | 3 | ||||
-rw-r--r-- | core/java/android/widget/RadioButton.java | 3 | ||||
-rw-r--r-- | core/java/android/widget/RatingBar.java | 3 | ||||
-rw-r--r-- | core/java/android/widget/RelativeLayout.java | 3 | ||||
-rw-r--r-- | core/java/android/widget/Spinner.java | 3 | ||||
-rw-r--r-- | core/java/android/widget/TabHost.java | 3 | ||||
-rw-r--r-- | core/java/android/widget/TabWidget.java | 3 | ||||
-rw-r--r-- | core/java/android/widget/TableLayout.java | 3 | ||||
-rw-r--r-- | core/java/android/widget/TimePicker.java | 3 | ||||
-rw-r--r-- | core/java/android/widget/ToggleButton.java | 3 |
19 files changed, 57 insertions, 0 deletions
diff --git a/core/java/android/widget/AutoCompleteTextView.java b/core/java/android/widget/AutoCompleteTextView.java index e15a520..3971487 100644 --- a/core/java/android/widget/AutoCompleteTextView.java +++ b/core/java/android/widget/AutoCompleteTextView.java @@ -76,6 +76,9 @@ import com.android.internal.R; * } * </pre> * + * <p>See the <a href="{@docRoot}resources/tutorials/views/hello-autocomplete.html">Auto Complete + * tutorial</a>.</p> + * * @attr ref android.R.styleable#AutoCompleteTextView_completionHint * @attr ref android.R.styleable#AutoCompleteTextView_completionThreshold * @attr ref android.R.styleable#AutoCompleteTextView_completionHintView diff --git a/core/java/android/widget/Button.java b/core/java/android/widget/Button.java index 5e692d4..176233e 100644 --- a/core/java/android/widget/Button.java +++ b/core/java/android/widget/Button.java @@ -48,6 +48,9 @@ import android.widget.RemoteViews.RemoteView; * } * </pre> * + * <p>See the <a href="{@docRoot}resources/tutorials/views/hello-formstuff.html">Form Stuff + * tutorial</a>.</p> + * * <p><strong>XML attributes</strong></p> * <p> * See {@link android.R.styleable#Button Button Attributes}, diff --git a/core/java/android/widget/CheckBox.java b/core/java/android/widget/CheckBox.java index ff63a24..b89c2a9 100644 --- a/core/java/android/widget/CheckBox.java +++ b/core/java/android/widget/CheckBox.java @@ -41,6 +41,9 @@ import android.util.AttributeSet; * } * } * </pre> + * + * <p>See the <a href="{@docRoot}resources/tutorials/views/hello-formstuff.html">Form Stuff + * tutorial</a>.</p> * * <p><strong>XML attributes</strong></p> * <p> diff --git a/core/java/android/widget/DatePicker.java b/core/java/android/widget/DatePicker.java index b3d5f1a..a4ee68a 100644 --- a/core/java/android/widget/DatePicker.java +++ b/core/java/android/widget/DatePicker.java @@ -37,6 +37,9 @@ import java.util.Calendar; /** * A view for selecting a month / year / day based on a calendar like layout. * + * <p>See the <a href="{@docRoot}resources/tutorials/views/hello-datepicker.html">Date Picker + * tutorial</a>.</p> + * * For a dialog using this view, see {@link android.app.DatePickerDialog}. */ @Widget diff --git a/core/java/android/widget/EditText.java b/core/java/android/widget/EditText.java index 1532db1..0da68a4 100644 --- a/core/java/android/widget/EditText.java +++ b/core/java/android/widget/EditText.java @@ -35,6 +35,9 @@ import android.util.AttributeSet; /** * EditText is a thin veneer over TextView that configures itself * to be editable. + * + * <p>See the <a href="{@docRoot}resources/tutorials/views/hello-formstuff.html">Form Stuff + * tutorial</a>.</p> * <p> * <b>XML attributes</b> * <p> diff --git a/core/java/android/widget/Gallery.java b/core/java/android/widget/Gallery.java index f34823c..aea8042 100644 --- a/core/java/android/widget/Gallery.java +++ b/core/java/android/widget/Gallery.java @@ -46,6 +46,9 @@ import android.view.animation.Transformation; * <p> * Views given to the Gallery should use {@link Gallery.LayoutParams} as their * layout parameters type. + * + * <p>See the <a href="{@docRoot}resources/tutorials/views/hello-gallery.html">Gallery + * tutorial</a>.</p> * * @attr ref android.R.styleable#Gallery_animationDuration * @attr ref android.R.styleable#Gallery_spacing diff --git a/core/java/android/widget/GridView.java b/core/java/android/widget/GridView.java index d2829db..2f86d75 100644 --- a/core/java/android/widget/GridView.java +++ b/core/java/android/widget/GridView.java @@ -31,6 +31,9 @@ import android.view.animation.GridLayoutAnimationController; /** * A view that shows items in two-dimensional scrolling grid. The items in the * grid come from the {@link ListAdapter} associated with this view. + * + * <p>See the <a href="{@docRoot}resources/tutorials/views/hello-gridview.html">Grid + * View tutorial</a>.</p> */ public class GridView extends AbsListView { public static final int NO_STRETCH = 0; diff --git a/core/java/android/widget/ImageButton.java b/core/java/android/widget/ImageButton.java index 5c05170..12a68db 100644 --- a/core/java/android/widget/ImageButton.java +++ b/core/java/android/widget/ImageButton.java @@ -62,6 +62,9 @@ import java.util.Map; * it will only be applied after {@code android:state_pressed} and {@code * android:state_focused} have both evaluated false.</p> * + * <p>See the <a href="{@docRoot}resources/tutorials/views/hello-formstuff.html">Form Stuff + * tutorial</a>.</p> + * * <p><strong>XML attributes</strong></p> * <p> * See {@link android.R.styleable#ImageView Button Attributes}, diff --git a/core/java/android/widget/LinearLayout.java b/core/java/android/widget/LinearLayout.java index bd07e1f..3d7940c 100644 --- a/core/java/android/widget/LinearLayout.java +++ b/core/java/android/widget/LinearLayout.java @@ -37,6 +37,9 @@ import android.widget.RemoteViews.RemoteView; * {@link android.widget.LinearLayout.LayoutParams LinearLayout.LayoutParams}. * The default orientation is horizontal. * + * <p>See the <a href="{@docRoot}resources/tutorials/views/hello-linearlayout.html">Linear Layout + * tutorial</a>.</p> + * * <p> * Also see {@link LinearLayout.LayoutParams android.widget.LinearLayout.LayoutParams} * for layout attributes </p> diff --git a/core/java/android/widget/ListView.java b/core/java/android/widget/ListView.java index 892c44a..3015406 100644 --- a/core/java/android/widget/ListView.java +++ b/core/java/android/widget/ListView.java @@ -58,6 +58,9 @@ import java.util.ArrayList; * A view that shows items in a vertically scrolling list. The items * come from the {@link ListAdapter} associated with this view. * + * <p>See the <a href="{@docRoot}resources/tutorials/views/hello-listview.html">List View + * tutorial</a>.</p> + * * @attr ref android.R.styleable#ListView_entries * @attr ref android.R.styleable#ListView_divider * @attr ref android.R.styleable#ListView_dividerHeight diff --git a/core/java/android/widget/RadioButton.java b/core/java/android/widget/RadioButton.java index 14ec8c6..ebbe1cd 100644 --- a/core/java/android/widget/RadioButton.java +++ b/core/java/android/widget/RadioButton.java @@ -34,6 +34,9 @@ import android.util.AttributeSet; * a radio group, checking one radio button unchecks all the others.</p> * </p> * + * <p>See the <a href="{@docRoot}resources/tutorials/views/hello-formstuff.html">Form Stuff + * tutorial</a>.</p> + * * <p><strong>XML attributes</strong></p> * <p> * See {@link android.R.styleable#CompoundButton CompoundButton Attributes}, diff --git a/core/java/android/widget/RatingBar.java b/core/java/android/widget/RatingBar.java index 1800c5a..28499d0 100644 --- a/core/java/android/widget/RatingBar.java +++ b/core/java/android/widget/RatingBar.java @@ -41,6 +41,9 @@ import com.android.internal.R; * <p> * The secondary progress should not be modified by the client as it is used * internally as the background for a fractionally filled star. + * + * <p>See the <a href="{@docRoot}resources/tutorials/views/hello-formstuff.html">Form Stuff + * tutorial</a>.</p> * * @attr ref android.R.styleable#RatingBar_numStars * @attr ref android.R.styleable#RatingBar_rating diff --git a/core/java/android/widget/RelativeLayout.java b/core/java/android/widget/RelativeLayout.java index 1aa1df3..1630e7f 100644 --- a/core/java/android/widget/RelativeLayout.java +++ b/core/java/android/widget/RelativeLayout.java @@ -54,6 +54,9 @@ import java.util.ArrayList; * {@link #ALIGN_PARENT_BOTTOM}. * </p> * + * <p>See the <a href="{@docRoot}resources/tutorials/views/hello-relativelayout.html">Relative + * Layout tutorial</a>.</p> + * * <p> * Also see {@link android.widget.RelativeLayout.LayoutParams RelativeLayout.LayoutParams} for * layout attributes diff --git a/core/java/android/widget/Spinner.java b/core/java/android/widget/Spinner.java index 2f6dd1e..8ddb06c 100644 --- a/core/java/android/widget/Spinner.java +++ b/core/java/android/widget/Spinner.java @@ -32,6 +32,9 @@ import android.view.ViewGroup; * A view that displays one child at a time and lets the user pick among them. * The items in the Spinner come from the {@link Adapter} associated with * this view. + * + * <p>See the <a href="{@docRoot}resources/tutorials/views/hello-spinner.html">Spinner + * tutorial</a>.</p> * * @attr ref android.R.styleable#Spinner_prompt */ diff --git a/core/java/android/widget/TabHost.java b/core/java/android/widget/TabHost.java index e0f1583..6518e31 100644 --- a/core/java/android/widget/TabHost.java +++ b/core/java/android/widget/TabHost.java @@ -40,6 +40,9 @@ import java.util.List; * user clicks to select a specific tab, and a FrameLayout object that displays the contents of that * page. The individual elements are typically controlled using this container object, rather than * setting values on the child elements themselves. + * + * <p>See the <a href="{@docRoot}resources/tutorials/views/hello-tabwidget.html">Tab Layout + * tutorial</a>.</p> */ public class TabHost extends FrameLayout implements ViewTreeObserver.OnTouchModeChangeListener { diff --git a/core/java/android/widget/TabWidget.java b/core/java/android/widget/TabWidget.java index 4e1b585..afae7ef 100644 --- a/core/java/android/widget/TabWidget.java +++ b/core/java/android/widget/TabWidget.java @@ -40,6 +40,9 @@ import android.view.View.OnFocusChangeListener; * handler, and manage callbacks. You might call this object to iterate the list * of tabs, or to tweak the layout of the tab list, but most methods should be * called on the containing TabHost object. + * + * <p>See the <a href="{@docRoot}resources/tutorials/views/hello-tabwidget.html">Tab Layout + * tutorial</a>.</p> * * @attr ref android.R.styleable#TabWidget_divider * @attr ref android.R.styleable#TabWidget_tabStripEnabled diff --git a/core/java/android/widget/TableLayout.java b/core/java/android/widget/TableLayout.java index 73760ac..7f26e28 100644 --- a/core/java/android/widget/TableLayout.java +++ b/core/java/android/widget/TableLayout.java @@ -67,6 +67,9 @@ import java.util.regex.Pattern; * <p>Although the typical child of a TableLayout is a TableRow, you can * actually use any View subclass as a direct child of TableLayout. The View * will be displayed as a single row that spans all the table columns.</p> + * + * <p>See the <a href="{@docRoot}resources/tutorials/views/hello-tablelayout.html">Table + * Layout tutorial</a>.</p> */ public class TableLayout extends LinearLayout { private int[] mMaxWidths; diff --git a/core/java/android/widget/TimePicker.java b/core/java/android/widget/TimePicker.java index caed308..e61fac3 100644 --- a/core/java/android/widget/TimePicker.java +++ b/core/java/android/widget/TimePicker.java @@ -45,6 +45,9 @@ import java.util.Calendar; * Under AM/PM mode, the user can hit 'a', 'A", 'p' or 'P' to pick. * * For a dialog using this view, see {@link android.app.TimePickerDialog}. + * + * <p>See the <a href="{@docRoot}resources/tutorials/views/hello-timepicker.html">Time Picker + * tutorial</a>.</p> */ @Widget public class TimePicker extends FrameLayout { diff --git a/core/java/android/widget/ToggleButton.java b/core/java/android/widget/ToggleButton.java index dc791e3..3b680e8 100644 --- a/core/java/android/widget/ToggleButton.java +++ b/core/java/android/widget/ToggleButton.java @@ -26,6 +26,9 @@ import android.util.AttributeSet; /** * Displays checked/unchecked states as a button * with a "light" indicator and by default accompanied with the text "ON" or "OFF". + * + * <p>See the <a href="{@docRoot}resources/tutorials/views/hello-formstuff.html">Form Stuff + * tutorial</a>.</p> * * @attr ref android.R.styleable#ToggleButton_textOn * @attr ref android.R.styleable#ToggleButton_textOff |