本文介绍了如何实现类似Google Maps的操作栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我一直在环顾四周,但似乎无法找到如何实现类似于Google地图和Google现在的操作栏.谁能给我一个文档/教程的链接,或者至少是那种操作栏的名称?
I've been looking around but I can't seem to find out how to implement an action bar that looks like the one in Google maps and Google now. Can anyone give me a link to a documentation/tutorial or at least the name of that type of action bar?
我已经附上一张我希望动作栏看起来像的图片
I've attached a picture of what i want the action bar to look like
推荐答案
好的,我已经解决了这个问题.我隐藏了默认操作栏,并使用XML创建了自定义操作栏(使用linearlayout,EditText和Buttons).
Okay I've solved this myself. I hid the default actionbar and used XML to create the custom actionbar(using linearlayout, EditText and Buttons).
这篇关于如何实现类似Google Maps的操作栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!