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

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -