title: Actionbar compatibility two sets of menu dots
body: <p>I have been trying to add an action bar to my application.</p>
  
  <p>It is working but not as nice as I would hope.  The problem is that I have two sets of three dots for accessing the menu.  In the Action bar itself, and along the bottom where my soft keys are.  This is the same on a Nexus 4 and a Moto X.  Both sets of buttons work.  On a Note 8 I have no buttons at all (should I expect the top action bar ones?), but the (physical) menu key does what it is supposed to do.</p>
  
  <p>Extracts from Manifest</p>
  
  <pre><code> &lt;uses-sdk android:minSdkVersion="10" /&gt;
  
  &lt;application
          android:icon="@drawable/icon"
          android:label="@string/app_name"
          android:theme="@style/Theme.AppCompat" &gt;
  </code></pre>
  
  <p>login_menu.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;menu xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"&gt;
      &lt;item android:id="@+id/login"
            android:title="@string/menu_login"
            android:icon="@android:drawable/ic_lock_idle_lock"
            app:showAsAction="never"/&gt;
  &lt;/menu&gt;
  </code></pre>
  
  <p>Extracts from Login.java</p>
  
  <pre><code>public class Login extends ActionBarActivity {
  
  @Override
  public boolean onCreateOptionsMenu(Menu menu) {
      super.onCreateOptionsMenu(menu);
      MenuInflater inflater = getMenuInflater();
      inflater.inflate(R.menu.login_menu, menu);
      return true;
  }
  
  @Override
      public boolean onOptionsItemSelected(MenuItem item) {
          switch (item.getItemId()) {
          case R.id.login:
              handleLogin();
              return true;
          }
          return super.onOptionsItemSelected(item);
      }
  </code></pre>
  
  <p>This is how it looks, any assistance appreciated.</p>
  
  <p><img src="https://i.stack.imgur.com/he538.png" alt="enter image description here"></p>