Lines Matching refs:Menu
28 import android.view.Menu;
36 * Demonstrates how fragments can participate in the options menu.
56 // Make sure the two menu fragments are created.
99 * A fragment that displays a menu. This fragment happens to not
112 public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
114 item = menu.add("Menu 1a");
116 item = menu.add("Menu 1b");
122 * Second fragment with a menu.
133 public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
135 item = menu.add("Menu 2");