Thursday, 15 January 2015

android - Remove "Done" button of ActionMode -



android - Remove "Done" button of ActionMode -

0i'm using startactionmode(actionmode) on app.

by default it's add together "done" button on bar, want remove it.

also, if there's way alter it's text, want know too, cause different description "done" can create action correspondent behaviour of does.

even stuck same , found way solve it.

int donebuttonid = resources.getsystem().getidentifier("action_mode_close_button", "id", "android"); linearlayout layout = (linearlayout) findviewbyid(donebuttonid); textview doneview = (textview) layout.getchildat(1); doneview.settext("");

hope helps!!

android android-actionbar android-actionmode

No comments:

Post a Comment