Setting HomeAsUpEnabled(true) but hide back button actionbar

自闭症网瘾萝莉.ら 提交于 2019-12-11 06:53:28

问题


I can't seem to find a solution for this anywhere. I just want to make the logo clickable in my activity, but it seems the only way to do this is setHomeAsUpEnabled(true), but this makes the back icon visible and clickable. I want to make the logo clickable, why isn't this possible? Do I have to create a custom view for this?

来源:https://stackoverflow.com/questions/28132061/setting-homeasupenabledtrue-but-hide-back-button-actionbar

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!