diff --git a/docs/html/guide/topics/ui/controls/text.jd b/docs/html/guide/topics/ui/controls/text.jd index 9474dee8e148f..c11dc32987272 100644 --- a/docs/html/guide/topics/ui/controls/text.jd +++ b/docs/html/guide/topics/ui/controls/text.jd @@ -172,7 +172,7 @@ android:imeOptions} attribute. For example, here's how you can specify the S are any subsequent {@code android:focusable} fields. If any focusable fields are found following this one, the system -applies the (@code actionNext} action to the current {@link android.widget.EditText} so the user can +applies the {@code "actionNext"} action to the current {@link android.widget.EditText} so the user can select Next to move to the next field. If there's no subsequent focusable field, the system applies the {@code "actionDone"} action. You can override this by setting the {@code @@ -263,7 +263,7 @@ disabled with {@code android:imeOptions="flagNoExtractUi"}.

If you want to provide suggestions to users as they type, you can use a subclass of {@link android.widget.EditText} called {@link android.widget.AutoCompleteTextView}. To implement -auto-complete, you must specify an (@link android.widget.Adapter) that provides the text +auto-complete, you must specify an {@link android.widget.Adapter} that provides the text suggestions. There are several kinds of adapters available, depending on where the data is coming from, such as from a database or an array.