I’ve played with all the showAsAction values to no avail.
I basically just want the delete button visible while the Exit will go into the overflow (3 dots). I’ll be adding more to the overflow one but I’d like to know how to force Exit into it.
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@+id/menu_delete"
android:icon="@drawable/ic_action_delete"
android:showAsAction="ifRoom" />
<item android:id="@+id/menu_exit"
android:title="Exit"
android:showAsAction="collapseActionView" />
Thanks in advance.
Use
android:showAsAction="never"to force an action item into the overflow.