Share SearchSourceSelector with SearchDialog
Uses the new SearchSourceSelector code in the home screen
search widget and the Quick Search Box activity. The code
is copied into the framework to also be used in SearchDialog.
Also:
- Implement instance state save/restore to retain the source selection and entered
query across configuration changes (e.g. device rotations).
- Better positioning of the source selection activity.
- TODO: More dynamic positioning of the source selection activity.
Change-Id: I31bd7b8479dc696c95106aa3dc8876ff67ef7d9a
19 files changed