Consider the following the code: public boolean onCreateOptionsMenu(Menu menu) { MenuInflater inflater = getMenuInflater() ; inflater.inflate(R.menu.game_menu, menu) ; return true; } Which of the following is true about the code above?
A) The code is auto generated and should not be edited
B) This method handles clicks and assign actions to menu items
C) This function inflates an XML file in the res/menu folder into menu items
D) This method inflates an XML file in the res/layout folder into layout.
Correct Answer:
Verified
Q87: Which of the following is NOT true
Q88: Which of the following is NOT true
Q89: Method onDraw() of class android.view.View has the
Q90: Which of the following is NOT true
Q91: Which of the following lines of code
Q93: When including a text file in your
Q94: Which of the following is not true
Q95: Which UI does the following code builds?
Q96: To create a customized Adapter for a
Q97: Consider the following AndroidManifest.xml file: <?xml version="1.0"
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents