全部博文(413)
分类: LINUX
2010-09-09 16:52:00
ListView
. android:onClick
attributeonCreateOptionsMenu()
and onOptionsItemSelected()
methods, then extend this class for each activity that should share the
same Options Menu.
Pass it the View
you want to give a context menu. When this View then
receives a long-press, it displays a context menu.