Last active
December 16, 2015 00:09
-
-
Save leonguyen/5345210 to your computer and use it in GitHub Desktop.
Android Lab: List View with Context Menu - Defining an Context Menu XML
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <menu xmlns:android="http://schemas.android.com/apk/res/android" > | |
| <item android:id="@+id/mnu_del" android:title="Delete"></item> | |
| <item android:id="@+id/mnu_clone" android:title="Clone"></item> | |
| <item android:id="@+id/mnu_edit" android:title="Edit"> | |
| <menu> | |
| <item android:id="@+id/mnu_edit_old_text" android:title="Keep old text"/> | |
| <item android:id="@+id/mnu_edit_new_text" android:title="New text"/> | |
| </menu> | |
| </item> | |
| </menu> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment