diff --git a/xwords4/android/XWords4/res/values/common_rsrc.xml b/xwords4/android/XWords4/res/values/common_rsrc.xml index 35b2f37c3..a096b99fa 100644 --- a/xwords4/android/XWords4/res/values/common_rsrc.xml +++ b/xwords4/android/XWords4/res/values/common_rsrc.xml @@ -48,6 +48,7 @@ key_notagain_flip key_notagain_zoom key_notagain_undo + key_notagain_done org.eehouse.android.xw4.relayids_extra diff --git a/xwords4/android/XWords4/res/values/strings.xml b/xwords4/android/XWords4/res/values/strings.xml index a79a3e5da..cf2686d28 100644 --- a/xwords4/android/XWords4/res/values/strings.xml +++ b/xwords4/android/XWords4/res/values/strings.xml @@ -433,5 +433,8 @@ turn. The new game you have created + The \"pts\" counter that appears at + the right end of the rack is an alternative to this menu + item. diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardActivity.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardActivity.java index b2b0e13d1..8732b7cc8 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardActivity.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardActivity.java @@ -448,11 +448,18 @@ public class BoardActivity extends XWActivity implements UtilCtxt { { boolean handled = true; JNIThread.JNICmd cmd = JNIThread.JNICmd.CMD_NONE; + Runnable proc = null; int id = item.getItemId(); switch ( id ) { case R.id.board_menu_done: - cmd = JNIThread.JNICmd.CMD_COMMIT; + proc = new Runnable() { + public void run() { + m_jniThread.handle( JNIThread.JNICmd.CMD_COMMIT ); + } + }; + showNotAgainDlgThen( R.string.not_again_done, + R.string.key_notagain_done, proc ); break; // case R.id.board_menu_juggle: // cmd = JNIThread.JNICmd.CMD_JUGGLE;