From abdf0d533c292709e51cee2c1213d5e44baca963 Mon Sep 17 00:00:00 2001 From: Scott Main Date: Tue, 8 Feb 2011 10:20:27 -0800 Subject: docs: update search dev guide with SearcView widget Change-Id: Ieb0ccdb78760a3c90df2381e647463f7532b0efc --- core/java/android/widget/SearchView.java | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'core/java/android/widget/SearchView.java') diff --git a/core/java/android/widget/SearchView.java b/core/java/android/widget/SearchView.java index f051b770ee0d..0a0dec9cd783 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. * - *

- * XML attributes - *

- * See {@link android.R.styleable#SearchView SearchView Attributes}, - * {@link android.R.styleable#View View Attributes} + *

For more information, see the Search + * documentation.

* * @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 { @@ -374,6 +372,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; @@ -389,6 +389,8 @@ public class SearchView extends LinearLayout { *

The default value is true.

* * @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; -- cgit v1.2.3