@Override public void onSupportActionModeStarted(ActionMode mode) { super.onSupportActionModeStarted(mode); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { // Set a status bar color while in action mode (text copy&paste) getWindow().setStatusBarColor(getResources().getColor(R.color.blue_900)); } }