If you want to add another icon instead of 3 dots, just create menu.xml as shown below:
<menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> <item android:id="@+id/menu_item_add" android:title="Add" app:showAsAction="always" android:icon="@drawable/ic_add" /> </menu>
Note: Do not use android:showAsAction . Use app:showAsAction .
source share