Android自定义操作栏 [英] Android custom actionbar

查看:120
本文介绍了Android自定义操作栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我想要开发动作栏,它应该是我的应用程序。截至目前,动作条显示为,左侧角落我的应用程序启动器图像与appname,右侧显示菜单图像(如3个水平图像)。但我的看法是,左侧应该是我自己的文字或图像,中心必须添加文字(面包屑),左侧需要是菜单。



此操作栏也需要使用所有屏幕。我如何实现像操作栏的母版页?另外在我的菜单中有Home选项。但主页选项菜单不应显示主页休息所有页面都需要显示其他所有屏幕。



请帮帮我。



谢谢

Hi,

I want develop the action bar and it should be treat though out my application. As of now action bar displaying like, left corner my apps launcher image with appname, right side displaying menu image (like 3 horizontal images). But how i am looking is, left side it should be my own text or image, center have to add text (its a bread crumb) and left side need to be a menu.

Also this action bar need to be use all screen. How can i implement like masterpage for action bar? Also in my menu having Home option. But home option menu should not display for home page rest all page need to be display other all screen.

Please help me.

Thanks

推荐答案

参见 http://developer.android.com/guide/topics/ui/actionbar.html [ ^ ]。


这篇关于Android自定义操作栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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