简体   繁体   中英

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

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? 在此输入图像描述

在此输入图像描述

在此输入图像描述

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

https://github.com/Quinny898/PersistentSearch

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM