Android搜索按钮和操作栏中的搜索字段

时间:2015-09-27 09:31:24

标签: android android-actionbar google-places-api searchview

有人能告诉我在哪里可以找到一些如何制作此示例的例子(按钮我假设?)并且此搜索字段位于操作栏内?

enter image description here this search box with Google place autocompleteis

当你按下新的(活动?或片段?

谢谢!

1 个答案:

答案 0 :(得分:2)

您应该参考文档中的官方搜索示例:http://developer.android.com/guide/topics/search/index.html