Lines Matching refs:Menu
25 import android.view.Menu;
38 // Menu item Ids
39 public static final int VERTICAL_ID = Menu.FIRST;
40 public static final int HORIZONTAL_ID = Menu.FIRST + 1;
42 public static final int TOP_ID = Menu.FIRST + 2;
43 public static final int MIDDLE_ID = Menu.FIRST + 3;
44 public static final int BOTTOM_ID = Menu.FIRST + 4;
46 public static final int LEFT_ID = Menu.FIRST + 5;
47 public static final int CENTER_ID = Menu.FIRST + 6;
48 public static final int RIGHT_ID = Menu.FIRST + 7;
58 public boolean onCreateOptionsMenu(Menu menu) {
59 super.onCreateOptionsMenu(menu);
60 menu.add(0, VERTICAL_ID, 0, R.string.linear_layout_8_vertical);
61 menu.add(0, HORIZONTAL_ID, 0, R.string.linear_layout_8_horizontal);
62 menu.add(0, TOP_ID, 0, R.string.linear_layout_8_top);
63 menu.add(0, MIDDLE_ID, 0, R.string.linear_layout_8_middle);
64 menu.add(0, BOTTOM_ID, 0, R.string.linear_layout_8_bottom);
65 menu.add(0, LEFT_ID, 0, R.string.linear_layout_8_left);
66 menu.add(0, CENTER_ID, 0, R.string.linear_layout_8_center);
67 menu.add(0, RIGHT_ID, 0, R.string.linear_layout_8_right);