ActionbarSherlock删除白色区域

时间:2013-10-30 14:16:18

标签: android android-actionbar actionbarsherlock

如何删除此白色背景?它只出现在平板电脑中......

enter image description here enter image description here

<resources xmlns:android="http://schemas.android.com/apk/res/android">

    <style name="AppBaseTheme" parent="android:Theme.Light"></style>
    <style name="AppTheme" parent="AppBaseTheme"></style>

    <style name="MyTheme" parent="Theme.Sherlock.Light">
        <item name="actionBarStyle">@style/Widget.Styled.ActionBar</item>
        <item name="android:actionBarStyle">@style/Widget.Styled.ActionBar</item>
        <item name="android:actionModeBackground">@drawable/bg_actionbar</item>
        <item name="actionModeBackground">@drawable/bg_actionbar</item>
        <item name="actionModeCloseDrawable">@drawable/abs__ic_cab_done_holo_dark</item>
        <item name="android:windowContentOverlay">@null</item>
        <!--<item name="android:homeAsUpIndicator">@drawable/icon_actionbar_back</item>-->
    </style>

    <style name="Widget.Styled.ActionBar" parent="Widget.Sherlock.Light.ActionBar.Solid.Inverse">
        <item name="background">@drawable/bg_actionbar</item>
        <item name="android:background">@drawable/bg_actionbar</item>
    </style>

</resources>

感谢您的时间。

0 个答案:

没有答案