0

我必须在 ActionMode 中更改完成 [tick mark] 按钮的拆分图像,我尝试了样式 splitBackground 和其他方式,但无法更改它。

附上红色箭头的图片。在此处输入图像描述

请帮我找到路。

4

1 回答 1

0

使用它来更改分割图像

<style name="AppTheme" parent="AppBaseTheme">
        <!– All customizations that are NOT specific to a particular API-level can go here. –&gt;
        <!– ABS attributes (required for backwards compatibility: http://actionbarsherlock.com/theming.html) –&gt;
        <item name="actionModeCloseDrawable">@drawable/ic_cab_done_holo_dark</item>
        <item name="actionModeCloseButtonStyle">@style/Widget.Sherlock.ActionButton.CloseMode</item>

        <!– Android SDK attributes –&gt;
        <item name="android:actionModeCloseDrawable">@drawable/ic_cab_done_holo_dark</item>
        <item name="android:actionModeCloseButtonStyle">@style/Widget.Sherlock.ActionButton.CloseMode</item>
</style>

来源: http: //www.codercowboy.com/2013/07/05/styling-the-contextual-action-bar-actionmode-divider-or-splitter-for-android/

于 2015-04-09T05:49:31.437 回答