标题中的动作条图标不显示

问题描述:

您好我想与标题图标添加到我的动作条,但只有图标显示。我创造了这个项目:

Hi I want to add a icon with title to my actionbar, but only the icon is shown. I created this item:

<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
    <item
        android:id="@+id/menu_save"
        android:icon="@android:drawable/ic_menu_save"
        android:title="@string/menu_save"
        android:showAsAction="ifRoom|withText"/>
</menu>

任何人的想法?我也改变了 ifRoom 总是,但仍是同样的问题。

Anyone a idea? I also changed ifRoom to always but still the same problem..

这是发生在ICS,对不对?这似乎是在ICS中的错误

That occurs in ICS, right? This appears to be a bug in ICS

HTTPS://$c$c.google。 COM / P /安卓/问题/详细信息?ID = 30180