Set the spacing between title and v7 drawer toggle

孤街醉人 提交于 2019-12-06 11:50:00

问题


I'm now using ActionBarDrawerToggle of the v7 support library. But the drawer icon is directly at the title font as I have disabled showHomeEnabled. How can I set more free space between the title and the toggle?

Thanks


回答1:


In fact, this is sadly not really realizable.

The simplest thing to do is to use ActionBarCompat or if you're just caring about that on 5.0+, Theme.Material. It looks much better then and obviously, Google kinda wants us to use ActionBarCompat as there are some issues with ActionBarDrawerToggle on 4.3- !

Hope I could still help some people



来源:https://stackoverflow.com/questions/26561238/set-the-spacing-between-title-and-v7-drawer-toggle

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