Skip to content

Commit 2f5b61a

Browse files
scottamainAndroid (Google) Code Review
authored andcommitted
Merge "docs: fix a bunch of links from javadocs to api guides and add some attributes to Spinner and Switch" into jb-dev
2 parents 3e6a9f0 + 4c359b7 commit 2f5b61a

19 files changed

+52
-37
lines changed

core/java/android/app/DatePickerDialog.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
/**
3434
* A simple dialog containing an {@link android.widget.DatePicker}.
3535
*
36-
* <p>See the <a href="{@docRoot}resources/tutorials/views/hello-datepicker.html">Date Picker
37-
* tutorial</a>.</p>
36+
* <p>See the <a href="{@docRoot}guide/topics/ui/controls/pickers.html">Pickers</a>
37+
* guide.</p>
3838
*/
3939
public class DatePickerDialog extends AlertDialog implements OnClickListener,
4040
OnDateChangedListener {

core/java/android/app/TimePickerDialog.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
/**
3131
* A dialog that prompts the user for the time of day using a {@link TimePicker}.
3232
*
33-
* <p>See the <a href="{@docRoot}resources/tutorials/views/hello-timepicker.html">Time Picker
34-
* tutorial</a>.</p>
33+
* <p>See the <a href="{@docRoot}guide/topics/ui/controls/pickers.html">Pickers</a>
34+
* guide.</p>
3535
*/
3636
public class TimePickerDialog extends AlertDialog
3737
implements OnClickListener, OnTimeChangedListener {

core/java/android/webkit/WebView.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@
6565
* href="{@docRoot}guide/topics/manifest/manifest-element.html">{@code <manifest>}</a>
6666
* element.</p>
6767
*
68-
* <p>See the <a href="{@docRoot}resources/tutorials/views/hello-webview.html">Web View
69-
* tutorial</a>.</p>
68+
* <p>For more information, read
69+
* <a href="{@docRoot}guide/webapps/webview.html">Building Web Apps in WebView</a>.</p>
7070
*
7171
* <h3>Basic usage</h3>
7272
*

core/java/android/widget/AutoCompleteTextView.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@
7575
* }
7676
* </pre>
7777
*
78-
* <p>See the <a href="{@docRoot}resources/tutorials/views/hello-autocomplete.html">Auto Complete
79-
* tutorial</a>.</p>
78+
* <p>See the <a href="{@docRoot}guide/topics/ui/controls/text.html">Text Fields</a>
79+
* guide.</p>
8080
*
8181
* @attr ref android.R.styleable#AutoCompleteTextView_completionHint
8282
* @attr ref android.R.styleable#AutoCompleteTextView_completionThreshold

core/java/android/widget/Button.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@
8383
* href="{@docRoot}guide/topics/resources/drawable-resource.html#StateList">State List
8484
* Drawable</a>.</p>
8585
*
86-
* <p>Also see the <a href="{@docRoot}resources/tutorials/views/hello-formstuff.html">Form Stuff
87-
* tutorial</a> for an example implementation of a button.</p>
86+
* <p>See the <a href="{@docRoot}guide/topics/ui/controls/button.html">Buttons</a>
87+
* guide.</p>
8888
*
8989
* <p><strong>XML attributes</strong></p>
9090
* <p>

core/java/android/widget/CheckBox.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
* }
4545
* </pre>
4646
*
47-
* <p>See the <a href="{@docRoot}resources/tutorials/views/hello-formstuff.html">Form Stuff
48-
* tutorial</a>.</p>
47+
* <p>See the <a href="{@docRoot}guide/topics/ui/controls/checkbox.html">Checkboxes</a>
48+
* guide.</p>
4949
*
5050
* <p><strong>XML attributes</strong></p>
5151
* <p>

core/java/android/widget/DatePicker.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353
* displayed. Also the minimal and maximal date from which dates to be selected
5454
* can be customized.
5555
* <p>
56-
* See the <a href="{@docRoot}resources/tutorials/views/hello-datepicker.html">Date
57-
* Picker tutorial</a>.
56+
* See the <a href="{@docRoot}guide/topics/ui/controls/pickers.html">Pickers</a>
57+
* guide.
5858
* </p>
5959
* <p>
6060
* For a dialog using this view, see {@link android.app.DatePickerDialog}.

core/java/android/widget/EditText.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
* EditText is a thin veneer over TextView that configures itself
3939
* to be editable.
4040
*
41-
* <p>See the <a href="{@docRoot}resources/tutorials/views/hello-formstuff.html">Form Stuff
42-
* tutorial</a>.</p>
41+
* <p>See the <a href="{@docRoot}guide/topics/ui/controls/text.html">Text Fields</a>
42+
* guide.</p>
4343
* <p>
4444
* <b>XML attributes</b>
4545
* <p>

core/java/android/widget/GridView.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
* A view that shows items in two-dimensional scrolling grid. The items in the
3838
* grid come from the {@link ListAdapter} associated with this view.
3939
*
40-
* <p>See the <a href="{@docRoot}resources/tutorials/views/hello-gridview.html">Grid
41-
* View tutorial</a>.</p>
40+
* <p>See the <a href="{@docRoot}guide/topics/ui/layout/gridview.html">Grid
41+
* View</a> guide.</p>
4242
*
4343
* @attr ref android.R.styleable#GridView_horizontalSpacing
4444
* @attr ref android.R.styleable#GridView_verticalSpacing

core/java/android/widget/ImageButton.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@
6464
* it will only be applied after {@code android:state_pressed} and {@code
6565
* android:state_focused} have both evaluated false.</p>
6666
*
67-
* <p>See the <a href="{@docRoot}resources/tutorials/views/hello-formstuff.html">Form Stuff
68-
* tutorial</a>.</p>
67+
* <p>See the <a href="{@docRoot}guide/topics/ui/controls/button.html">Buttons</a>
68+
* guide.</p>
6969
*
7070
* <p><strong>XML attributes</strong></p>
7171
* <p>

0 commit comments

Comments
 (0)