4.2.6. Deleting a Search

To delete a search, long press the search’s tag and select Delete from the AlertDialog that appears. The app prompts you to confirm that you’d like to delete the search (Fig. 4.9)—touching Cancel returns you to the main screen without deleting the search. Touching Delete deletes the search.

Image

Fig. 4.9 | AlertDialog confirming a delete.

Get Android™ How to Program, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.