title: dropdown menu in actionbar overlaps the actionbar
body: <p>i have a menu in the action bar</p>
  
  <pre><code>&lt;menu xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      xmlns:tools="http://schemas.android.com/tools"
      tools:context="com.Blog.gkgyan.MainActivity" &gt;
  
      &lt;item
          android:id="@+id/action_settings"
          android:orderInCategory="100"
          android:title="@string/action_settings"
          app:showAsAction="never"/&gt;
      &lt;item
          android:id="@+id/action_share"
          android:icon="@drawable/ic_action_share"
          android:orderInCategory="101"
          android:title="@string/action_share"
          app:showAsAction="always"/&gt;
      &lt;item
          android:id="@+id/action_rate"
          android:icon="@drawable/ic_action_important"
          android:orderInCategory="102"
          android:title="@string/action_rate"
          app:showAsAction="always"/&gt;
      &lt;item
          android:id="@+id/action_search"
          android:icon="@drawable/ic_action_search"
          android:orderInCategory="103"
          android:title="@string/action_search"
          app:showAsAction="always"&gt;
          &lt;menu&gt;
              &lt;item
                  android:id="@+id/menuSortNewest"
                  android:showAsAction="never"
                  android:title="Gk"/&gt;
              &lt;item
                  android:id="@+id/menuSortRating"
                  android:showAsAction="never"
                  android:title="Current Affairs"/&gt;
          &lt;/menu&gt;
      &lt;/item&gt;
      &lt;item
          android:id="@+id/action_pin"
          android:icon="@drawable/ic_action_make_available_offline"
          android:orderInCategory="105"
          android:title="@string/action_pin"
           app:showAsAction="always"/&gt;
  
  &lt;/menu&gt;
  </code></pre>
  
  <p>here is the style applied to the menu</p>
  
  <pre><code>&lt;resources&gt;
  
      &lt;!--
          Base application theme, dependent on API level. This theme is replaced
          by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
  
  
  
      --&gt;
      &lt;style name="AppBaseTheme" parent="Theme.AppCompat.Light"&gt;
          &lt;!--
              Theme customizations available in newer API levels can go in
              res/values-vXX/styles.xml, while customizations related to
              backward-compatibility can go here.
  
  
  
          --&gt;
  
      &lt;/style&gt;
  
      &lt;!-- Application theme. --&gt;
      &lt;style name="AppTheme" parent="AppBaseTheme"&gt;
          &lt;!-- All customizations that are NOT specific to a particular API-level can go here. --&gt;
  
      &lt;/style&gt;
      &lt;!-- the theme applied to the application or activity --&gt;
      &lt;style name="CustomActionBarTheme" parent="@style/Theme.AppCompat.Light"&gt;
          &lt;item name="@android:actionBarStyle"&gt;@style/MyActionBar&lt;/item&gt;
  
          &lt;!-- Support library compatibility --&gt;
          &lt;item name="actionBarStyle"&gt;@style/MyActionBar&lt;/item&gt;
      &lt;/style&gt;
  
      &lt;!-- ActionBar styles --&gt;
      &lt;style name="MyActionBar" parent="@style/Widget.AppCompat.Light.ActionBar.Solid.Inverse"&gt;
          &lt;item name="android:background"&gt;@color/actionbar_background&lt;/item&gt;
          &lt;item name="overlapAnchor"&gt;false&lt;/item&gt;
  
          &lt;!-- Support library compatibility --&gt;
          &lt;item name="background"&gt;@color/actionbar_background&lt;/item&gt;
      &lt;/style&gt;
      &lt;/resources&gt;
  </code></pre>
  
  <p>my activity </p>
  
  <p>uses</p>
  
  <pre><code>public class DetailActivity extends ActionBarActivity implements OnItemClickListener{
  </code></pre>
  
  <p>my problem is the dropdown menu is created however it over laps the actionbar i tried 
  <code>&lt;item name="overlapAnchor"&gt;false&lt;/item&gt;</code> however it doenot work</p>
  
  <p>i am using </p>
  
  <pre><code>import android.support.v7.app.ActionBarActivity;
  </code></pre>
  
  <p>target and build versions</p>
  
  <pre><code>android:minSdkVersion="8"
          android:targetSdkVersion="21" /&gt;
  </code></pre>