diff options
| author | Scott Main <smain@google.com> | 2011-03-14 14:36:56 -0700 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2011-03-14 14:36:56 -0700 |
| commit | 462012db70fb73431bb25909d73e45fea9fc5911 (patch) | |
| tree | 0860adbb59660b7a03228b7b63914f4e2ea565f3 /core/java/android/widget/SearchView.java | |
| parent | 175121a513f4cea91d7950d6b3978383d3b2a352 (diff) | |
| parent | abdf0d533c292709e51cee2c1213d5e44baca963 (diff) | |
am abdf0d53: docs: update search dev guide with SearcView widget
* commit 'abdf0d533c292709e51cee2c1213d5e44baca963':
docs: update search dev guide with SearcView widget
Diffstat (limited to 'core/java/android/widget/SearchView.java')
| -rw-r--r-- | core/java/android/widget/SearchView.java | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/core/java/android/widget/SearchView.java b/core/java/android/widget/SearchView.java index 6088654a78c1..9933d6872cd1 100644 --- a/core/java/android/widget/SearchView.java +++ b/core/java/android/widget/SearchView.java @@ -54,18 +54,16 @@ import android.widget.TextView.OnEditorActionListener; import java.util.WeakHashMap; /** - * Provides the user interface elements for the user to enter a search query and submit a + * A widget that provides a user interface for the user to enter a search query and submit a * request to a search provider. Shows a list of query suggestions or results, if - * available and allows the user to pick a suggestion or result to launch into. + * available, and allows the user to pick a suggestion or result to launch into. * - * <p> - * <b>XML attributes</b> - * <p> - * See {@link android.R.styleable#SearchView SearchView Attributes}, - * {@link android.R.styleable#View View Attributes} + * <p>For more information, see the <a href="{@docRoot}guide/topics/search/index.html">Search</a> + * documentation.<p> * * @attr ref android.R.styleable#SearchView_iconifiedByDefault * @attr ref android.R.styleable#SearchView_maxWidth + * @attr ref android.R.styleable#SearchView_queryHint */ public class SearchView extends LinearLayout { @@ -387,6 +385,8 @@ public class SearchView extends LinearLayout { * in the SearchableInfo. * * @param hint the hint text to display + * + * @attr ref android.R.styleable#SearchView_queryHint */ public void setQueryHint(CharSequence hint) { mQueryHint = hint; @@ -402,6 +402,8 @@ public class SearchView extends LinearLayout { * <p>The default value is true.</p> * * @param iconified whether the search field should be iconified by default + * + * @attr ref android.R.styleable#SearchView_iconifiedByDefault */ public void setIconifiedByDefault(boolean iconified) { if (mIconifiedByDefault == iconified) return; |
