diff --git a/xwords4/android/XWords4/res/menu/studylist.xml b/xwords4/android/XWords4/res/menu/studylist.xml index 64903be5a..e0575087f 100644 --- a/xwords4/android/XWords4/res/menu/studylist.xml +++ b/xwords4/android/XWords4/res/menu/studylist.xml @@ -1,6 +1,12 @@ + + Word lookup Select all - Deselect all + Unselect all Words: %d + Look up diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/StudyList.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/StudyList.java index b97a2baa4..0d0cc96c5 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/StudyList.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/StudyList.java @@ -100,6 +100,7 @@ public class StudyList extends XWListActivity Utils.setItemVisible( menu, R.id.slmenu_clear_sel, 0 < nSel ); Utils.setItemVisible( menu, R.id.slmenu_select_all, m_words.length > nSel ); Utils.setItemVisible( menu, R.id.slmenu_deselect_all, 0 < nSel ); + Utils.setItemVisible( menu, R.id.slmenu_lookup_sel, 0 < nSel ); return super.onPrepareOptionsMenu( menu ); } @@ -128,7 +129,9 @@ public class StudyList extends XWListActivity case R.id.slmenu_deselect_all: clearSels(); break; - + case R.id.slmenu_lookup_sel: + launchLookup( getSelWords(), m_langCodes[m_langPosition], true ); + break; default: handled = false; }