Move "new game" action to the left drawer menu

Only use the right drawer menu for less common actions.
This commit is contained in:
Peter Osterlund 2019-05-25 02:07:26 +02:00
parent 5573b2be2f
commit 16e7c34337

View File

@ -1636,6 +1636,7 @@ public class DroidFish extends Activity
rightDrawer = findViewById(R.id.right_drawer);
final DrawerItem[] leftItems = new DrawerItem[] {
new DrawerItem(ITEM_NEW_GAME, R.string.option_new_game),
new DrawerItem(ITEM_EDIT_BOARD, R.string.option_edit_board),
new DrawerItem(ITEM_FILE_MENU, R.string.option_file),
new DrawerItem(ITEM_SELECT_BOOK, R.string.option_select_book),
@ -1653,7 +1654,6 @@ public class DroidFish extends Activity
});
final DrawerItem[] rightItems = new DrawerItem[] {
new DrawerItem(ITEM_NEW_GAME, R.string.option_new_game),
new DrawerItem(ITEM_RESIGN, R.string.option_resign_game),
new DrawerItem(ITEM_FORCE_MOVE, R.string.option_force_computer_move),
new DrawerItem(ITEM_DRAW, R.string.option_draw)