I have implemented contextual action mode on long press inside recycler view. For that i have called ActionModeCallback from creating action mode .
While creating action mode , back arrow is showing by default . Check below :
On click back arrow , action mode will close.
Now i want to hide or remove that default back button which is coming along with action mode in android .
Note : Already tried getActionBar().setDisplayHomeAsUpEnabled(false). but it's not working . Kindly help.
Edited :
Thanks Issues been resolved : After adding in style.xml
<item name="actionModeCloseDrawable">@color/colorPrimary</item>
<item name="actionModeCloseButtonStyle">@style/Widget.AppCompat.ActionMode</item>

Try this to completely remove it:
Update
or try to using a custom theme
and in the manifest: