Is it possible to set the flags as suggested here android:showAsAction=\"ifRoom|withText\" programmatically?
android:showAsAction=\"ifRoom|withText\"
Have you tried this:
getSupportActionBar().setDisplayOptions(MenuItem.SHOW_AS_ACTION_IF_ROOM); getSupportActionBar().setDisplayOptions(MenuItem.SHOW_AS_ACTION_WITH_TEXT);