KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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. <menu xmlns:android="http://schemas.android.com/apk/res/android" > <item android:id="@+id/menu_printer_settings" android:title="@string/printer_settings" />
Tags (comma-separated)
Save Edits
Cancel