title: How to get the Android ID for a menu item in Android?
body: <p>Is there a way to get the Android ID for a menu item? I can see getTitle() but not a getId(). I'm interested in the ID value "menu_printer_settings" rather than the title value "printer_settings" and the menu item ID (getItemId()). I need this ID to make my Monkey Talk scripts work for localized builds also.</p>
  
  <pre><code>&lt;menu xmlns:android="http://schemas.android.com/apk/res/android" &gt;
  &lt;item
      android:id="@+id/menu_printer_settings"        
      android:title="@string/printer_settings"
  /&gt;
  </code></pre>
  
  <p></p>