从蜂巢操作栏中的删除应用程序图标和标题 [英] Remove application icon and title from Honeycomb action bar

查看:117
本文介绍了从蜂巢操作栏中的删除应用程序图标和标题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何删除应用程序图标和放大器; title,它在操作栏自带默认?

How can I remove the application icon & title which comes by default in an action bar?

这里有一个类似的问题:<一href="http://stackoverflow.com/questions/5030700/can-i-hide-the-app-icon-from-the-action-bar-in-honeycomb">Can我隐藏应用程序图标的操作栏在蜂巢?,但它并没有讲怎么办呢?

There is a similar question here: Can i hide the App Icon from the Action Bar in Honeycomb?, but it doesn't talk about how to do it?

推荐答案

呼叫<一href="http://developer.android.com/reference/android/app/ActionBar.html#setDisplayShowHomeEnabled%28boolean%29"><$c$c>setDisplayShowHomeEnabled()和<一href="http://developer.android.com/reference/android/app/ActionBar.html#setDisplayShowTitleEnabled%28boolean%29"><$c$c>setDisplayShowTitleEnabled()动作条,你通过调用到 getActionBar()

这篇关于从蜂巢操作栏中的删除应用程序图标和标题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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