title: How to display the 3-dots menu without using Action Bar?
body: <p>Suppose my app doesn't use the Action Bar, does anyone know how I could show the 3-dots option menu when the current device hasn't got a hardware menu button? I've seen code snippets like that below, but it's for use with Action Bar, right?</p>
  
  <pre><code>&lt;!-- list_menu.xml --&gt;
  ?xml version="1.0" encoding="utf-8"?&gt;
  &lt;menu xmlns:android="http://schemas.android.com/apk/res/android" &gt;
      &lt;item android:id="@+id/menu_item_1"
          android:title="@string/menu_string_1" 
          android:showAsAction="ifRoom|withText"/&gt;
      &lt;item android:id="@+id/menu_item_1"
          android:title="@string/menu_string_2" 
          android:showAsAction="ifRoom|withText"/&gt;
  &lt;/menu&gt;
  </code></pre>
  
  <p>In the <code>onCreateOptionsMenu</code>:</p>
  
  <pre><code>public boolean onCreateOptionsMenu(Menu menu) {
      MenuInflater mi = getMenuInflater();
      mi.inflate(R.menu.list_menu, menu);
      return true;
  }
  </code></pre>
  
  <p>Thanks!</p>