web analytics
Skip to content

Category: AND-401 Exam Dumps

AND-401 Exam Dumps

[Mar-2016 Dumps] PassLeader Premium AND-401 Practice Test Ensure 100 Percent Exam Passing

New Updated AND-401 Exam Questions from PassLeader AND-401 PDF dumps! Welcome to download the newest PassLeader AND-401 VCE dumps: http://www.passleader.com/and-401.html (143 Q&As)

Keywords: AND-401 exam dumps, AND-401 exam questions, AND-401 VCE dumps, AND-401 PDF dumps, AND-401 practice tests, AND-401 study guide, AND-401 braindumps, Android Application Development Exam

NEW QUESTION 117
Consider the following code:
@Override
public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) {super.onCreateContextMenu(menu, v, menuInfo);
menu.setHeaderTitle(“Menu”);
AdapterContextMenuInfo cmi = (AdapterContextMenuInfo) menuInfo;
menu.add(1, cmi.position, 0, “Open file”);
menu.add(2, cmi.position, 0, “Save file”);}
Which of the following best explains the code above?

A. The code inflates an xml file into menu items.
B. The code creates menu items for context menu programmatically.
C. The code assign actions to menu items.
D. The code Opens a menu resource file, modifies it, and saves the changes.

Comments closed