How to make Google Play Store App like search action menu and search dialog design

11.5k Views Asked by At

As per new material design update , the Google pay store app action search opens a search dialog thing once tab on search action button. This search interface is different than a default action view provided by android in action bar(which opens in action-bar only.)

So my question is how to implement a new search action dialog like google play store app. Is there any android official component or I have to create a custom dialog view for this? If the second one , then please show how to achieve this type of search view? enter image description here

enter image description here

enter image description here

2

There are 2 best solutions below

4
On

its android default searchview with android:iconifiedByDefault="true" settings. the initial response that is shown to you after you click is based on your search history, i am guessing it will be saved, and later as you start typing in the edit text do the api call.

0
On

The following link might be helpful. It is a custom implementation of the search. Please have a look.

https://github.com/Quinny898/PersistentSearch