<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:compat="http://schemas.android.com/apk/res-auto" >
<item android:id="@+id/action_chat"
android:icon="@drawable/ico_enter_chat"
android:title="Enter Chat"
compat:showAsAction="always|withText" />
<item android:id="@+id/action_map"
android:icon="@drawable/ico_map"
android:title="Users Map"
compat:showAsAction="always" />
<item android:id="@+id/action_logout"
android:icon="@drawable/ico_log_out"
android:title="Log Out"
compat:showAsAction="always" />
</menu>
Here is my XML menu file, theoretically it should display two icons as separate icons and the first icon with a title.
However, in the application, it does not display the title, here is the screenshot:

So why doesn't it display "title"?
source
share