Or, more precisely, what is the identifier for this button?
, , action_mode_close_button.
"" ?
View.performClick. View , , null. Runnable ListView , , ActionMode. :
@Override
public boolean onCreateActionMode(ActionMode mode, Menu menu) {
mList.postDelayed(new Runnable() {
@Override
public void run() {
findViewById(android.R.id.action_mode_close_button).performClick();
}
}, 1000);
return true;
}