title: Action-bar — sub menu item with text and image not working properly
body: <p>I am developing small Android application in which I am using action bar with some menu items. One menu item contains sub menu. Now what I want to do is to display menu item with text and icon always.</p>
  
  <p>I define menu items in following manner.</p>
  
  <pre><code>&lt;menu xmlns:android="http://schemas.android.com/apk/res/android" &gt;
  
      &lt;item
          android:id="@+id/card_menu"
          android:icon="@drawable/abc"
          android:showAsAction="withText|always"
          android:title="cards"&gt;
  
          &lt;menu&gt;
  
              &lt;item
                  android:id="@+id/C1"
                  android:title="C1"/&gt;
  
              &lt;item
                  android:id="@+id/C2"
                  android:title="c2"/&gt;
  
              &lt;item
                  android:id="@+id/C3"
                  android:title="C3"/&gt;
          &lt;/menu&gt;
      &lt;/item&gt;
  
      &lt;item
          android:id="@+id/notification"
          android:actionLayout="@layout/notification_icon"
          android:icon="@drawable/notification"
          android:showAsAction="always"
          android:title="Notifications"/&gt;
  
      &lt;item
          android:id="@+id/filter"
          android:icon="@drawable/filter"
          android:showAsAction="always"
          android:title="Filter"/&gt;
  
  &lt;/menu&gt;
  </code></pre>
  
  <p>Now what happens is my action-bar displays my items properly; only thing is that when window is in portrait mode it shows only image, and when window is in landscape mode it shows image and text both. But I want image and text in both mode.</p>
  
  <p>How to do that? Is there any way to solve this?</p>