Lines Matching full:your
32 the app bar is the preferred way to provide search in your app. Like with all items in
38 <p class="note"><strong>Note:</strong> Later in this class, you will learn how to make your
45 <code>res/menu/options_menu.xml</code> in your project and add the following code to the file.
47 item. The <code>collapseActionView</code> attribute allows your {@link android.widget.SearchView}
63 <p class="note"><strong>Note:</strong> If you already have an existing XML file for your menu
68 android.app.Activity#onCreateOptionsMenu onCreateOptionsMenu()} method of your activity:</p>
79 <p>If you run your app now, the {@link android.widget.SearchView} appears in your app's app
90 <a href="{@docRoot}guide/topics/manifest/activity-element.html"><activity></a> element in your Android manifest.
101 <p>In your application's manifest file, declare a <a href="{@docRoot}guide/topics/manifest/meta-data-element.html">
103 so that your application knows where to find it. Declare the element in an <code><activity></code>
137 file. When the searchable configuration is correctly associated with your {@link
147 some sort of data set. To create a searchable activity, declare an activity of your choice to
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>
162 <p class="note"><strong>Note:</strong> If your searchable activity launches in single top mode
165 onNewIntent()} method. In single top mode, only one instance of your activity is created and
166 subsequent calls to start your activity do not create a new activity on the
188 //use the query to search your data somehow
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
197 is now up to you to figure out how to store and search your data given a query.</p>