How do I find the Google Now search bar in my application?

Google has just embedded its search bar from Google Now into a playback application, as you can see in the format below.

google searchbar in action

How can I implement this search bar in your own application? I would like to have

  • style
  • hamburger animation
  • go from toolbar button
  • microphone button
  • Ripple effect on candy devices

I already have

  • layout for list item
  • "old" search inside the action bar

Any ideas? thanks in advance

+7
android material-design
source share
2 answers

I created this library to do this, the only thing it does not do is ripple, but I expect that you can easily implement them with other resources:

https://github.com/Quinny898/PersistentSearch

Here's a gif of its use:

Use

+7
source share

for this you need to use the material search bar. Below is the link for github.

Please download the code. https://github.com/ManuelPeinado/GlassActionBar https://github.com/ManuelPeinado/GlassActionBar/tree/master/samples-stock

And change this code the way you want. it will help.

-3
source share

All Articles