Using SearchView
Fire up PhotoGallery and see what the SearchView looks like. Pressing the search icon expands the
view to display a text box where you can enter a query (Figure 27.3).
Figure 27.3 SearchView collapsed and expanded
When the SearchView is expanded, an x icon appears on the right. Pressing the x icon one time clears
out what you typed. Pressing the x again collapses the SearchView back to a single search icon.
If you try submitting a query, it will not do anything yet. Not to worry. You will make your SearchView
more useful in just a moment.