2015-01-02 3 views
0

ActionMode에서 done [tick mark] 버튼의 분할 이미지를 변경해야합니다. splitBackground 스타일을 시도했지만 다른 방법으로 변경할 수는 있지만 변경할 수는 없습니다.ActionMode에서 분할 이미지 변경

빨간색 화살표가 붙은 이미지입니다. enter image description here

길 찾기를 도와주세요.

답변

0

사용이 분할 이미지를 변경하는

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

     <!– Android SDK attributes –> 
     <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/