mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-08 05:24:39 +01:00
move log-related menuitems into a submenu
This commit is contained in:
parent
0e5cc9f2b9
commit
5d2f84acd8
3 changed files with 20 additions and 16 deletions
|
@ -575,10 +575,7 @@ public class GamesListDelegate extends ListDelegateBase
|
|||
// R.id.games_menu_loaddb,
|
||||
R.id.games_menu_storedb,
|
||||
R.id.games_menu_writegit,
|
||||
R.id.games_menu_enableLogStorage,
|
||||
R.id.games_menu_disableLogStorage,
|
||||
R.id.games_menu_clearLogStorage,
|
||||
R.id.games_menu_dumpLogStorage,
|
||||
R.id.games_submenu_logs,
|
||||
};
|
||||
private static final int[] NOSEL_ITEMS = {
|
||||
R.id.games_menu_newgroup,
|
||||
|
|
|
@ -122,16 +122,22 @@
|
|||
android:title="@string/gamel_menu_writegit"
|
||||
/>
|
||||
|
||||
<item android:id="@+id/games_menu_enableLogStorage"
|
||||
android:title="@string/gamel_menu_logstore_on"
|
||||
/>
|
||||
<item android:id="@+id/games_menu_disableLogStorage"
|
||||
android:title="@string/gamel_menu_logstore_off"
|
||||
/>
|
||||
<item android:id="@+id/games_menu_dumpLogStorage"
|
||||
android:title="@string/gamel_menu_logstore_dump"
|
||||
/>
|
||||
<item android:id="@+id/games_menu_clearLogStorage"
|
||||
android:title="@string/gamel_menu_logstore_clear"
|
||||
/>
|
||||
<item android:id="@+id/games_submenu_logs"
|
||||
android:title="@string/gamel_menu_logs"
|
||||
>
|
||||
<menu>
|
||||
<item android:id="@+id/games_menu_enableLogStorage"
|
||||
android:title="@string/gamel_menu_logstore_on"
|
||||
/>
|
||||
<item android:id="@+id/games_menu_disableLogStorage"
|
||||
android:title="@string/gamel_menu_logstore_off"
|
||||
/>
|
||||
<item android:id="@+id/games_menu_dumpLogStorage"
|
||||
android:title="@string/gamel_menu_logstore_dump"
|
||||
/>
|
||||
<item android:id="@+id/games_menu_clearLogStorage"
|
||||
android:title="@string/gamel_menu_logstore_clear"
|
||||
/>
|
||||
</menu>
|
||||
</item>
|
||||
</menu>
|
||||
|
|
|
@ -2520,6 +2520,7 @@
|
|||
<string name="history_msg_fmt"> Message: %1$s.</string>
|
||||
<string name="history_autopause">Auto-paused.</string>
|
||||
|
||||
<string name="gamel_menu_logs">Debug logs</string>
|
||||
<!-- Debug-build-only menu to turn on saving of logs -->
|
||||
<string name="gamel_menu_logstore_on">Enable log storage</string>
|
||||
<!-- Debug-build-only menu to turn off saving of logs -->
|
||||
|
|
Loading…
Reference in a new issue