设置标题和V7抽屉切换之间的间距

设置标题和V7抽屉切换之间的间距

本文介绍了设置标题和V7抽屉切换之间的间距的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我现在使用的V7支持库ActionBarDrawerToggle。但抽屉图标是直接在标题字体,因为我已禁用showHomeEnabled。如何设置标题和肘之间有更多的自由空间?

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?

感谢

推荐答案

其实,这是可悲的是没有真正实现的。

In fact, this is sadly not really realizable.

做最简单的事情就是用ActionBarCompat或者如果你只是关心,关于5.0+,Theme.Material。它看起来好多了,然后,显然,谷歌还挺希望我们使用ActionBarCompat因为有在4.3-与ActionBarDrawerToggle一些问题!

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

这篇关于设置标题和V7抽屉切换之间的间距的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-04 21:19