new menus and shortcuts; tweak formatting

This commit is contained in:
ehouse 2010-01-12 13:18:16 +00:00
parent 4db53ed176
commit 71fe75049b
5 changed files with 77 additions and 21 deletions

View file

@ -43,11 +43,11 @@
android:id="@+id/player_2_name"
/>
<Button android:id="@+id/game_config_open"
<!--Button android:id="@+id/game_config_open"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="right"
android:text="@string/game_config_open" />
android:text="@string/game_config_open" /-->
<Button android:id="@+id/game_config_done"
android:layout_width="fill_parent"

View file

@ -2,31 +2,50 @@
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@+id/board_menu_done"
android:title="@string/board_menu_done" />
android:title="@string/board_menu_done"
android:alphabeticShortcut="D"
/>
<item android:id="@+id/board_menu_juggle"
android:title="@string/board_menu_juggle" />
android:title="@string/board_menu_juggle"
android:alphabeticShortcut="J"
/>
<item android:id="@+id/board_menu_flip"
android:title="@string/board_menu_flip" />
android:title="@string/board_menu_flip"
android:alphabeticShortcut="F"
/>
<item android:id="@+id/board_menu_trade"
android:title="@string/board_menu_trade" />
android:title="@string/board_menu_trade"
android:alphabeticShortcut="T"
/>
<item android:id="@+id/board_menu_tray"
android:title="@string/board_menu_tray" />
android:title="@string/board_menu_tray"
android:alphabeticShortcut="H"
/>
<item android:title="@string/board_submenu_undo">
<menu>
<item android:id="@+id/board_menu_undo_current"
android:title="@string/board_menu_undo_current" />
android:title="@string/board_menu_undo_current"
/>
<item android:id="@+id/board_menu_undo_last"
android:title="@string/board_menu_undo_last" />
android:title="@string/board_menu_undo_last"
android:alphabeticShortcut="U"
/>
</menu>
</item>
<item android:title="@string/board_submenu_hint">
<menu>
<item android:id="@+id/board_menu_hint_next"
android:title="@string/board_menu_hint_next" />
android:title="@string/board_menu_hint_next"
android:alphabeticShortcut="H"
/>
<item android:id="@+id/board_menu_hint"
android:title="@string/board_menu_hint" />
android:title="@string/board_menu_hint"
/>
<item android:id="@+id/board_menu_values"
android:title="@string/board_menu_values"
android:alphabeticShortcut="V"
/>
</menu>
</item>
<item android:title="@string/board_submenu_game">
@ -47,12 +66,14 @@
</item>
<item android:title="@string/board_submenu_file">
<menu>
<item android:id="@+id/board_menu_file_new"
android:title="@string/board_menu_file_new" />
<item android:id="@+id/board_menu_file_prefs"
android:title="@string/board_menu_file_prefs" />
android:title="@string/board_menu_file_prefs"
android:alphabeticShortcut="P"
/>
<item android:id="@+id/board_menu_file_about"
android:title="@string/board_menu_file_about" />
android:title="@string/board_menu_file_about"
android:alphabeticShortcut="A"
/>
</menu>
</item>

View file

@ -2,11 +2,33 @@
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@+id/list_item_open"
android:title="@string/list_item_open" />
android:title="@string/list_item_open"
/>
<item android:id="@+id/list_item_view"
android:title="@string/list_item_view" />
android:title="@string/list_item_view"
/>
<item android:id="@+id/list_item_copy"
android:title="@string/list_item_copy"
/>
<item android:id="@+id/list_item_new_from"
android:title="@string/list_item_new_from"
/>
<item android:id="@+id/list_item_hide"
android:title="@string/list_item_hide" />
android:title="@string/list_item_hide"
/>
<item android:id="@+id/list_item_delete"
android:title="@string/list_item_delete" />
android:title="@string/list_item_delete"
/>
<item android:id="@+id/list_item_move_up"
android:title="@string/list_item_move_up"
/>
<item android:id="@+id/list_item_move_down"
android:title="@string/list_item_move_down"
/>
<item android:id="@+id/list_item_move_to_top"
android:title="@string/list_item_move_to_top"
/>
<item android:id="@+id/list_item_move_to_bottom"
android:title="@string/list_item_move_to_bottom"
/>
</menu>

View file

@ -2,5 +2,9 @@
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@+id/gamel_menu_delete_all"
android:title="@string/gamel_menu_delete_all" />
android:title="@string/gamel_menu_delete_all"
/>
<item android:id="@+id/gamel_menu_view_hidden"
android:title="@string/gamel_menu_view_hidden"
/>
</menu>

View file

@ -25,6 +25,12 @@
<string name="list_item_view">View</string>
<string name="list_item_hide">Hide</string>
<string name="list_item_delete">Delete</string>
<string name="list_item_copy">Copy</string>
<string name="list_item_new_from">New from</string>
<string name="list_item_move_up">Move up</string>
<string name="list_item_move_down">Move down</string>
<string name="list_item_move_to_top">Move to top</string>
<string name="list_item_move_to_bottom">Move to bottom</string>
<string name="resolve_edit">Edit note</string>
<string name="resolve_title">Edit title</string>
@ -63,6 +69,7 @@
<string name="board_submenu_hint">Hint</string>
<string name="board_menu_hint_next">Next hint</string>
<string name="board_menu_hint">Hint</string>
<string name="board_menu_values">Show values</string>
<string name="board_submenu_game">Game</string>
<string name="board_menu_game_counts">Counts and values</string>
<string name="board_menu_game_left">Tiles remaining</string>
@ -76,4 +83,6 @@
<string name="board_menu_file_about">About Crosswords</string>
<string name="gamel_menu_delete_all">Delete all</string>
<string name="gamel_menu_view_hidden">Hidden games</string>
</resources>