Reputation: 1
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<item
android:id="@+id/action_settings"
android:orderInCategory="100"
android:showAsAction="never"
android:title="@string/action_settings"/>
<item
android:id="@+id/myicon"
android:icon="@drawable/app_icon_32"
android:orderInCategory="1"
android:showAsAction="never"
android:title="@string/login"/>
i just tried this but not showing icon only shows the text on Moto E
Upvotes: 0
Views: 215
Reputation: 25830
If in case your device has an option/menu button that would open the menu,Android will not show the three dotted lines in your actionbar.
Upvotes: 1