Skip to content

Commit 11a7248

Browse files
scottamainAndroid (Google) Code Review
authored andcommitted
Merge "docs: add links from widget classes to tutorials" into froyo
2 parents 0fe27cf + 41ec653 commit 11a7248

23 files changed

+86
-6
lines changed

core/java/android/app/DatePickerDialog.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@
3535

3636
/**
3737
* A simple dialog containing an {@link android.widget.DatePicker}.
38+
*
39+
* <p>See the <a href="{@docRoot}resources/tutorials/views/hello-datepicker.html">Date Picker
40+
* tutorial</a>.</p>
3841
*/
3942
public class DatePickerDialog extends AlertDialog implements OnClickListener,
4043
OnDateChangedListener {

core/java/android/app/TimePickerDialog.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232

3333
/**
3434
* A dialog that prompts the user for the time of day using a {@link TimePicker}.
35+
*
36+
* <p>See the <a href="{@docRoot}resources/tutorials/views/hello-timepicker.html">Time Picker
37+
* tutorial</a>.</p>
3538
*/
3639
public class TimePickerDialog extends AlertDialog implements OnClickListener,
3740
OnTimeChangedListener {

core/java/android/webkit/WebView.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@
117117
* href="{@docRoot}guide/topics/manifest/manifest-element.html">{@code &lt;manifest&gt;}</a>
118118
* element.</p>
119119
*
120+
* <p>See the <a href="{@docRoot}resources/tutorials/views/hello-webview.html">Web View
121+
* tutorial</a>.</p>
122+
*
120123
* <h3>Basic usage</h3>
121124
*
122125
* <p>By default, a WebView provides no browser-like widgets, does not

core/java/android/widget/AutoCompleteTextView.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@
7676
* }
7777
* </pre>
7878
*
79+
* <p>See the <a href="{@docRoot}resources/tutorials/views/hello-autocomplete.html">Auto Complete
80+
* tutorial</a>.</p>
81+
*
7982
* @attr ref android.R.styleable#AutoCompleteTextView_completionHint
8083
* @attr ref android.R.styleable#AutoCompleteTextView_completionThreshold
8184
* @attr ref android.R.styleable#AutoCompleteTextView_completionHintView

core/java/android/widget/Button.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@
4848
* }
4949
* </pre>
5050
*
51+
* <p>See the <a href="{@docRoot}resources/tutorials/views/hello-formstuff.html">Form Stuff
52+
* tutorial</a>.</p>
53+
*
5154
* <p><strong>XML attributes</strong></p>
5255
* <p>
5356
* See {@link android.R.styleable#Button Button Attributes},

core/java/android/widget/CheckBox.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
* }
4242
* }
4343
* </pre>
44+
*
45+
* <p>See the <a href="{@docRoot}resources/tutorials/views/hello-formstuff.html">Form Stuff
46+
* tutorial</a>.</p>
4447
*
4548
* <p><strong>XML attributes</strong></p>
4649
* <p>

core/java/android/widget/DatePicker.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@
3737
/**
3838
* A view for selecting a month / year / day based on a calendar like layout.
3939
*
40+
* <p>See the <a href="{@docRoot}resources/tutorials/views/hello-datepicker.html">Date Picker
41+
* tutorial</a>.</p>
42+
*
4043
* For a dialog using this view, see {@link android.app.DatePickerDialog}.
4144
*/
4245
@Widget

core/java/android/widget/EditText.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@
3535
/**
3636
* EditText is a thin veneer over TextView that configures itself
3737
* to be editable.
38+
*
39+
* <p>See the <a href="{@docRoot}resources/tutorials/views/hello-formstuff.html">Form Stuff
40+
* tutorial</a>.</p>
3841
* <p>
3942
* <b>XML attributes</b>
4043
* <p>

core/java/android/widget/Gallery.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@
4646
* <p>
4747
* Views given to the Gallery should use {@link Gallery.LayoutParams} as their
4848
* layout parameters type.
49+
*
50+
* <p>See the <a href="{@docRoot}resources/tutorials/views/hello-gallery.html">Gallery
51+
* tutorial</a>.</p>
4952
*
5053
* @attr ref android.R.styleable#Gallery_animationDuration
5154
* @attr ref android.R.styleable#Gallery_spacing

core/java/android/widget/GridView.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@
3131
/**
3232
* A view that shows items in two-dimensional scrolling grid. The items in the
3333
* grid come from the {@link ListAdapter} associated with this view.
34+
*
35+
* <p>See the <a href="{@docRoot}resources/tutorials/views/hello-gridview.html">Grid
36+
* View tutorial</a>.</p>
3437
*/
3538
public class GridView extends AbsListView {
3639
public static final int NO_STRETCH = 0;

0 commit comments

Comments
 (0)