Menu

suggest change

Syntax

Parameters

Parameter Description
inflate(int menuRes, Menu menu) Inflates a menu hierarchy from the specified XML resource.
getMenuInflater() Returns a MenuInflater with this context.
onCreateOptionsMenu(Menu menu) Initializes the contents of the Activity's standard options menu. Place your menu items in that menu.
onOptionsItemSelected(MenuItem item) Called whenever an item in your options menu is selected.

Remarks

To know more about Menus, read this. Hope it helps!

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents