搜索栏就像在Android的Twitter的应用程序 [英] Searchbar just like twitter app in android

查看:140
本文介绍了搜索栏就像在Android的Twitter的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我wounder如果有关于如何创建一个搜索栏,就像在Android的Twitter的应用程序的一些例子吗?
http://2.bp.blogspot.com/_GTM_W5mVPTU/S-rmYdiUTCI/AAAAAAAAAEE/hIO9GD53SLc/s1600/search2.png
结果
而且我想知道的弹出窗口。

I wounder if there some example on how to create a searchbar just like twitter app in android? http://2.bp.blogspot.com/_GTM_W5mVPTU/S-rmYdiUTCI/AAAAAAAAAEE/hIO9GD53SLc/s1600/search2.png
and also I wonder about the popup.

有什么样?

推荐答案

有关的搜索栏,我只想实现一个处理您的应用程序内的搜索操作的自定义活动。如果您发现,当你从内微博preSS搜索它把你带到一个全新的屏幕,与酒吧在顶部,低于一个地址栏,然后提出建议的一个ListView。这只是看起来像一个自定义的活动,我认为模仿内置的搜索功能。我可能是错的,但我知道没有办法来定制内置的搜索栏,在很大程度上。

For the search bar, I would just implement a custom Activity that handles the search action within your app. If you notice, when you press search from within Twitter it takes you to an entire new screen, with that bar at the top, a location bar below that, and then a ListView of suggestions. That just looks like a custom Activity to me that mimics the built in search function. I could be wrong, but I know of no way to customize the built in search bar that heavily.

至于弹出,看这个问题的答案:<一href=\"http://stackoverflow.com/questions/3059155/android-quick-actions-ui-pattern\">http://stackoverflow.com/questions/3059155/android-quick-actions-ui-pattern

As for the popup, look at the answers to this question: http://stackoverflow.com/questions/3059155/android-quick-actions-ui-pattern

这篇关于搜索栏就像在Android的Twitter的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆