Lines Matching full:link
4 next.link=search.html
31 <p>Beginning in Android 3.0, using the {@link android.widget.SearchView} widget as an item in
33 the action bar, you can define the {@link android.widget.SearchView} to show at all times, only
34 when there is room, or as a collapsible action, which displays the {@link
40 {@link android.widget.SearchView}.</p>
44 <p>To add a {@link android.widget.SearchView} widget to the action bar, create a file named
47 item. The <code>collapseActionView</code> attribute allows your {@link android.widget.SearchView}
66 <p>To display the {@link android.widget.SearchView} in the action bar, inflate the XML menu
67 resource (<code>res/menu/options_menu.xml</code>) in the {@link
79 <p>If you run your app now, the {@link android.widget.SearchView} appears in your app's action
80 bar, but it isn't functional. You now need to define <em>how</em> the {@link
86 configuration</a> defines how the {@link android.widget.SearchView} behaves and is defined in a
104 that you want to display the {@link android.widget.SearchView} in:</p>
114 <p>In the {@link android.app.Activity#onCreateOptionsMenu onCreateOptionsMenu()} method that you
115 created before, associate the searchable configuration with the {@link android.widget.SearchView}
116 by calling {@link android.widget.SearchView#setSearchableInfo}:</p>
135 <p>The call to {@link android.app.SearchManager#getSearchableInfo getSearchableInfo()} obtains a
136 {@link android.app.SearchableInfo} object that is created from the searchable configuration XML
137 file. When the searchable configuration is correctly associated with your {@link
138 android.widget.SearchView}, the {@link android.widget.SearchView} starts an activity with the
139 {@link android.content.Intent#ACTION_SEARCH} intent when a user submits a query. You now need an
144 <p>A {@link android.widget.SearchView} tries to start an activity with the {@link
146 filters for the {@link android.content.Intent#ACTION_SEARCH} intent and searches for the query in
148 filter for the {@link android.content.Intent#ACTION_SEARCH} intent:</p>
159 <p>In your searchable activity, handle the {@link android.content.Intent#ACTION_SEARCH} intent by
160 checking for it in your {@link android.app.Activity#onCreate onCreate()} method.</p>
163 (<code>android:launchMode="singleTop"</code>), also handle the {@link
164 android.content.Intent#ACTION_SEARCH} intent in the {@link android.app.Activity#onNewIntent
195 <p>If you run your app now, the {@link android.widget.SearchView} can accept the user's query and
196 start your searchable activity with the {@link android.content.Intent#ACTION_SEARCH} intent. It