android replace confirm on contextual action bar -


i want delete confirm button appears on left side of cab when app si in selection mode. or replace button.

i have single selection mode, so, in contextual action bar need title, , button.

i follow android tutorial , work fine, how can remove default confirm ?

you can change icon on top left changing in theme.

if styles.xml, create new theme if don't have 1 already.

<style name="theme.custom.light" parent="holo.theme.light">     <item name="android:actionmodeclosedrawable">@drawable/ic_menu_checkmark</item> </style> 

you can put in drawable here. tried , worked.


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -