I am using ActionMode to show a list of context functions for a ListView. I have the ActionMode bar working but by default it puts a “Cancel” button on the upper left side. To me this is a little misleading to users. I don’t want them to think this button will undo the action.
Is there an easy way change this buttons text to something like “Done” or “Finish”? I looked through the source and found that this seems to be tied to a theme style. I was hoping not to have to modify the theme but can if needed.
I am targeting 3.2 or later.
I am reasonably certain that this can only be adjusted using a theme. Certainly, there are no methods on
ActionBarorActionModefor making this change. One hopes that it is at least possible via a theme — I did not try sifting through all the theme stuff to find the actual value to change, and so it’s possible that it simply cannot be changed at all (which would suck).