我改变THA状态栏的颜色从styles.xml:如何设置标题在Android状态栏中中心
<resources>
<string name="app_name">Qu-easy</string>
<item name="colorPrimaryDark">@color/custom_theme_color</item>
</resources>
:
<resources>
<color name="custom_theme_color">#42A5F5</color>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimaryDark">@color/custom_theme_color</item>
<item name="colorAccent">@color/colorAccent</item>
</style>
我也是从string.xml更改状态栏标题
如何将标题设置为状态栏的中心? 我想像gravity.center?
Make custome关于这个的行动酒吧,而不是塞纳标题引用这个接受的答案http://stackoverflow.com/questions/18418635/how-to-align-title-at-center-of-actionbar-in-default-themetheme-holo-光 –