diff --git a/core/java/android/app/DatePickerDialog.java b/core/java/android/app/DatePickerDialog.java index 3f0b4d4add92e..d1688004e52da 100644 --- a/core/java/android/app/DatePickerDialog.java +++ b/core/java/android/app/DatePickerDialog.java @@ -33,8 +33,8 @@ import java.util.Calendar; /** * A simple dialog containing an {@link android.widget.DatePicker}. * - *
See the Date Picker - * tutorial.
+ *See the Pickers + * guide.
*/ public class DatePickerDialog extends AlertDialog implements OnClickListener, OnDateChangedListener { diff --git a/core/java/android/app/TimePickerDialog.java b/core/java/android/app/TimePickerDialog.java index d773bc8a444d7..952227fe0c5e7 100644 --- a/core/java/android/app/TimePickerDialog.java +++ b/core/java/android/app/TimePickerDialog.java @@ -30,8 +30,8 @@ import android.widget.TimePicker.OnTimeChangedListener; /** * A dialog that prompts the user for the time of day using a {@link TimePicker}. * - *See the Time Picker - * tutorial.
+ *See the Pickers + * guide.
*/ public class TimePickerDialog extends AlertDialog implements OnClickListener, OnTimeChangedListener { diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java index 17592e876e10a..6e4e82c85af97 100644 --- a/core/java/android/webkit/WebView.java +++ b/core/java/android/webkit/WebView.java @@ -66,8 +66,8 @@ import java.util.Map; * href="{@docRoot}guide/topics/manifest/manifest-element.html">{@codeSee the Web View - * tutorial.
+ *For more information, read + * Building Web Apps in WebView.
* *See the Auto Complete - * tutorial.
+ *See the Text Fields + * guide.
* * @attr ref android.R.styleable#AutoCompleteTextView_completionHint * @attr ref android.R.styleable#AutoCompleteTextView_completionThreshold diff --git a/core/java/android/widget/Button.java b/core/java/android/widget/Button.java index 99f4cae493cc6..2ac56ac1c9cf3 100644 --- a/core/java/android/widget/Button.java +++ b/core/java/android/widget/Button.java @@ -83,8 +83,8 @@ import android.widget.RemoteViews.RemoteView; * href="{@docRoot}guide/topics/resources/drawable-resource.html#StateList">State List * Drawable. * - *Also see the Form Stuff - * tutorial for an example implementation of a button.
+ *See the Buttons + * guide.
* *XML attributes
*diff --git a/core/java/android/widget/CheckBox.java b/core/java/android/widget/CheckBox.java index 6d292dcafa836..41ab5f25f6dbd 100644 --- a/core/java/android/widget/CheckBox.java +++ b/core/java/android/widget/CheckBox.java @@ -45,8 +45,8 @@ import android.util.ValueModel; * } * * - *
See the Form Stuff - * tutorial.
+ *See the Checkboxes + * guide.
* *XML attributes
*diff --git a/core/java/android/widget/DatePicker.java b/core/java/android/widget/DatePicker.java index 108b7200f0b55..ac3bedb02d42d 100644 --- a/core/java/android/widget/DatePicker.java +++ b/core/java/android/widget/DatePicker.java @@ -53,8 +53,8 @@ import java.util.TimeZone; * displayed. Also the minimal and maximal date from which dates to be selected * can be customized. *
- * See the Date - * Picker tutorial. + * See the Pickers + * guide. *
** For a dialog using this view, see {@link android.app.DatePickerDialog}. diff --git a/core/java/android/widget/EditText.java b/core/java/android/widget/EditText.java index 8686177c62472..ec812143e15e9 100644 --- a/core/java/android/widget/EditText.java +++ b/core/java/android/widget/EditText.java @@ -40,8 +40,8 @@ import android.view.accessibility.AccessibilityNodeInfo; * EditText is a thin veneer over TextView that configures itself * to be editable. * - *
See the Form Stuff - * tutorial.
+ *See the Text Fields + * guide.
** XML attributes *
diff --git a/core/java/android/widget/GridView.java b/core/java/android/widget/GridView.java index f23e1aaaf47ab..b6fcb03036c13 100644 --- a/core/java/android/widget/GridView.java +++ b/core/java/android/widget/GridView.java @@ -37,8 +37,8 @@ import android.widget.RemoteViews.RemoteView; * A view that shows items in two-dimensional scrolling grid. The items in the * grid come from the {@link ListAdapter} associated with this view. * - *
See the Grid - * View tutorial.
+ *See the Grid + * View guide.
* * @attr ref android.R.styleable#GridView_horizontalSpacing * @attr ref android.R.styleable#GridView_verticalSpacing diff --git a/core/java/android/widget/ImageButton.java b/core/java/android/widget/ImageButton.java index 59a8f2804630d..379354caeb0aa 100644 --- a/core/java/android/widget/ImageButton.java +++ b/core/java/android/widget/ImageButton.java @@ -64,8 +64,8 @@ import java.util.Map; * it will only be applied after {@code android:state_pressed} and {@code * android:state_focused} have both evaluated false. * - *See the Form Stuff - * tutorial.
+ *See the Buttons + * guide.
* *XML attributes
*diff --git a/core/java/android/widget/LinearLayout.java b/core/java/android/widget/LinearLayout.java index 4e114d8d9b6a9..ea8532503927d 100644 --- a/core/java/android/widget/LinearLayout.java +++ b/core/java/android/widget/LinearLayout.java @@ -41,8 +41,8 @@ import android.widget.RemoteViews.RemoteView; * {@link android.widget.LinearLayout.LayoutParams LinearLayout.LayoutParams}. * The default orientation is horizontal. * - *
See the Linear Layout - * tutorial.
+ *See the Linear Layout + * guide.
* ** Also see {@link LinearLayout.LayoutParams android.widget.LinearLayout.LayoutParams} diff --git a/core/java/android/widget/ListView.java b/core/java/android/widget/ListView.java index d2e55d9054611..e011c13a9c845 100644 --- a/core/java/android/widget/ListView.java +++ b/core/java/android/widget/ListView.java @@ -57,8 +57,8 @@ 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. * - *
See the List View - * tutorial.
+ *See the List View + * guide.
* * @attr ref android.R.styleable#ListView_entries * @attr ref android.R.styleable#ListView_divider diff --git a/core/java/android/widget/RadioButton.java b/core/java/android/widget/RadioButton.java index b1bb1c06b1a16..a0fef7dafc6d8 100644 --- a/core/java/android/widget/RadioButton.java +++ b/core/java/android/widget/RadioButton.java @@ -38,8 +38,8 @@ import com.android.internal.R; * a radio group, checking one radio button unchecks all the others. * * - *See the Form Stuff - * tutorial.
+ *See the Radio Buttons + * guide.
* *XML attributes
*diff --git a/core/java/android/widget/RatingBar.java b/core/java/android/widget/RatingBar.java index 524d27271aa29..4d3c56c1f12cb 100644 --- a/core/java/android/widget/RatingBar.java +++ b/core/java/android/widget/RatingBar.java @@ -43,9 +43,6 @@ import com.android.internal.R; *
* The secondary progress should not be modified by the client as it is used * internally as the background for a fractionally filled star. - * - *
See the Form Stuff - * tutorial.
* * @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 d9bde109fff15..a811cc2eb14b4 100644 --- a/core/java/android/widget/RelativeLayout.java +++ b/core/java/android/widget/RelativeLayout.java @@ -56,8 +56,8 @@ import static android.util.Log.d; * {@link #ALIGN_PARENT_BOTTOM}. * * - *See the Relative - * Layout tutorial.
+ *See the Relative + * Layout guide.
* ** Also see {@link android.widget.RelativeLayout.LayoutParams RelativeLayout.LayoutParams} for diff --git a/core/java/android/widget/Spinner.java b/core/java/android/widget/Spinner.java index 510a7940e9f5c..ecd7277a04ba7 100644 --- a/core/java/android/widget/Spinner.java +++ b/core/java/android/widget/Spinner.java @@ -39,10 +39,16 @@ import android.view.accessibility.AccessibilityNodeInfo; * The items in the Spinner come from the {@link Adapter} associated with * this view. * - *
See the Spinner - * tutorial.
+ *See the Spinners guide.
* + * @attr ref android.R.styleable#Spinner_dropDownHorizontalOffset + * @attr ref android.R.styleable#Spinner_dropDownSelector + * @attr ref android.R.styleable#Spinner_dropDownVerticalOffset + * @attr ref android.R.styleable#Spinner_dropDownWidth + * @attr ref android.R.styleable#Spinner_gravity + * @attr ref android.R.styleable#Spinner_popupBackground * @attr ref android.R.styleable#Spinner_prompt + * @attr ref android.R.styleable#Spinner_spinnerMode */ @Widget public class Spinner extends AbsSpinner implements OnClickListener { @@ -409,6 +415,7 @@ public class Spinner extends AbsSpinner implements OnClickListener { /** *A spinner does not support item click events. Calling this method * will raise an exception.
+ *Instead use {@link AdapterView#setOnItemSelectedListener}. * * @param l this listener will be ignored */ diff --git a/core/java/android/widget/Switch.java b/core/java/android/widget/Switch.java index 8f5dc2ce2be5a..5d6491d31f461 100644 --- a/core/java/android/widget/Switch.java +++ b/core/java/android/widget/Switch.java @@ -53,6 +53,17 @@ import com.android.internal.R; * {@link #setSwitchTextAppearance(android.content.Context, int) switchTextAppearance} and * the related seSwitchTypeface() methods control that of the thumb. * + *
See the Toggle Buttons + * guide.
+ * + * @attr ref android.R.styleable#Switch_textOn + * @attr ref android.R.styleable#Switch_textOff + * @attr ref android.R.styleable#Switch_switchMinWidth + * @attr ref android.R.styleable#Switch_switchPadding + * @attr ref android.R.styleable#Switch_switchTextAppearance + * @attr ref android.R.styleable#Switch_thumb + * @attr ref android.R.styleable#Switch_thumbTextPadding + * @attr ref android.R.styleable#Switch_track */ public class Switch extends CompoundButton { private static final int TOUCH_MODE_IDLE = 0; diff --git a/core/java/android/widget/TimePicker.java b/core/java/android/widget/TimePicker.java index 18f7a916d6800..cb9ed619613c0 100644 --- a/core/java/android/widget/TimePicker.java +++ b/core/java/android/widget/TimePicker.java @@ -48,8 +48,8 @@ import java.util.Locale; * or 'P' to pick. For a dialog using this view, see * {@link android.app.TimePickerDialog}. *- * See the Time Picker - * tutorial. + * See the Pickers + * guide. *
*/ @Widget diff --git a/core/java/android/widget/ToggleButton.java b/core/java/android/widget/ToggleButton.java index 4beee96ef54d3..cedc7772cb21c 100644 --- a/core/java/android/widget/ToggleButton.java +++ b/core/java/android/widget/ToggleButton.java @@ -31,8 +31,8 @@ import com.android.internal.R; * Displays checked/unchecked states as a button * with a "light" indicator and by default accompanied with the text "ON" or "OFF". * - *See the Form Stuff - * tutorial.
+ *See the Toggle Buttons + * guide.
* * @attr ref android.R.styleable#ToggleButton_textOn * @attr ref android.R.styleable#ToggleButton_textOff