I waited 2 days, but did not receive any answer. So he decided.
The idea here is quite simple. You need to create your own overflow element in and create a submenu to display the icon and text.
See the sample code below.
<item android:id="@+id/overflow" android:icon="@drawable/ic_overflow_white" android:orderInCategory="201" android:title="@string/overflow" app:showAsAction="always"> <menu> <item android:id="@+id/cab_menu_select_all" android:icon="@drawable/ic_select_all_grey" android:orderInCategory="100" android:title="@string/cab_menu_select_all" app:showAsAction="always|withText"></item> </menu> </item>
The trick here is to create submenus. You can add as many elements as you want.
source share