I want to get rid of the “mark” in the action context bar. This may be the method used in the mode (some method); but they were not able to figure out which one (if any). minsdk = 14

Here is a snippet:
private ActionMode.Callback mActionModeCallback = new ActionMode.Callback()
{
public boolean onCreateActionMode(ActionMode mode, Menu menu)
{
MenuInflater inflater = mode.getMenuInflater();
inflater.inflate(R.menu.contextual, menu);
return true;
}
}
contextual.xml
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
<item
android:id="@+id/toast"
android:title="Toast">
</item>
<item
android:id="@+id/toast"
android:title="NotToast">
</item>
</menu>
source
share