如何获得谷歌搜索栏现在将我的应用程序? [英] How to get the Google Now searchbar into my app?
问题描述
谷歌刚刚从谷歌实现其搜索栏现在到Play商店的应用程序,你可以在下面的GIF见。
我怎样才能实现这个动作条搜索栏到我自己的应用程序吗? 我想有
- 风格
- 汉堡动画
- 从工具栏按钮接取
- 麦克风按钮
- 在棒棒糖设备涟漪效应
我已经是
- 的列表项的布局
- 在旧的搜索查看的动作条里面
任何想法?在此先感谢
解决方案我创造了这个库来做到这一点
<一个href="https://github.com/Quinny898/PersistentSearch">https://github.com/Quinny898/PersistentSearch
下面是其使用的GIF:
Google has just implemented their searchbar from Google Now into the play store application as you can see in the gif below.
How can I implement this actionbar searchbar into my own app? I'd like to have the
- style
- hamburger animation
- acess from toolbar button
- microphone button
- ripple effect on lollipop devices
What I already have is
- the layout for a list item
- the "old" searchview inside the actionbar
Any ideas? thanks in advance
I created this library to do this, the only thing it does not do is the ripples, but I expect you could implement them quite easily with other resources:
https://github.com/Quinny898/PersistentSearch
Here's a gif of its use:
这篇关于如何获得谷歌搜索栏现在将我的应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!