mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2024-11-23 11:31:33 +01:00
Move "new game" action to the left drawer menu
Only use the right drawer menu for less common actions.
This commit is contained in:
parent
5573b2be2f
commit
16e7c34337
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user