Valid AND-401 Dumps shared by ExamDiscuss.com for Helping Passing AND-401 Exam! ExamDiscuss.com now offer the newest AND-401 exam dumps, the ExamDiscuss.com AND-401 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com AND-401 dumps with Test Engine here:
Which of the following is a call-back method that inflates an options menu from file res/menu/menu.xml?
Correct Answer: D
Explanation/Reference: To specify the options menu for an activity, override onCreateOptionsMenu() (fragments provide their own onCreateOptionsMenu() callback). In this method, you can inflate your menu resource (defined in XML) into the Menu provided in the callback. For example: @Override public boolean onCreateOptionsMenu(Menu menu) { MenuInflater inflater = getMenuInflater(); inflater.inflate(R.menu.game_menu, menu); return true; } References: http://developer.android.com/guide/topics/ui/menus.html