搜索视图中心及重点之后,它将转到Android的App Bar
大家好,我正在Android学习搜索视图。我在中心有搜索视图,当我聚焦时,它将像Chrome应用程序一样转移到App Bar。
当焦点时,它将转到app bar
我找不到任何解决方案。有人可以指导我吗?谢谢
Hey guys I am learning Searchview in android. I have searchview in centre and when I focus it will go to app bar just like chrome application.
And when focus it will go to app bar
I didn't find any solution. Can someone guide me on this. Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我记得一个关于过渡动画的好教程:我认为 >
基本上,我将需要2个活动(片段),并且都有搜索视图。当用户单击搜索视图时,您会过渡动画,从而影响从第一个屏幕到第二个移动搜索视图
I remember a good tutorial regarding transition animation: I think this one
Basically, I'd would need 2 Activities(Fragments) and both have SearchView. When user click on SearchView you would you transition animation to make an affect of moving SearchView from first screen to the second