更改动作条高度后,homeasupindicator不垂直

时间:2015-06-01 08:12:06

标签: android

<style name="AppTheme" parent="@style/Theme.AppCompat.Light.DarkActionBar">
    <item name="actionBarStyle">@style/ActionBarStyle</item>
    <item name="homeAsUpIndicator">@drawable/homeasup_back</item>
    <item name="actionMenuTextColor">@color/text_orange</item>
    <item name="actionMenuTextAppearance">@style/ActionBarMenuTextStyle</item>
</style>
<style name="ActionBarStyle" parent="@style/Widget.AppCompat.Light.ActionBar">
    <item name="height">@dimen/actionbar_height</item>
    <item name="background">@color/actionbar_bg</item>
    <item name="titleTextStyle">@style/ActionBarTitleText</item>
    <item name="icon">@mipmap/icon</item>
    <item name="displayOptions">showTitle|homeAsUp</item>
</style>

如果我不改变ActionBar身高,那就正确了!
我无法发布图片!
请帮帮我!谢谢!

0 个答案:

没有答案