diff --git a/xwords4/android/XWords4/res/values/strings.xml b/xwords4/android/XWords4/res/values/strings.xml index 4c11a0ed9..c4b430ac1 100644 --- a/xwords4/android/XWords4/res/values/strings.xml +++ b/xwords4/android/XWords4/res/values/strings.xml @@ -2215,6 +2215,7 @@ Are you sure you want to delete this list?\n\n(This action cannot be undone.) %d word[s] copied + %s added to list Studylist for %s Your words for: diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/LookupActivity.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/LookupActivity.java index eb3e1985d..a84c65af1 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/LookupActivity.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/LookupActivity.java @@ -137,8 +137,12 @@ public class LookupActivity extends XWListActivity if ( view == m_doneButton ) { switchState( -1 ); } else if ( view == m_studyButton ) { - DBUtils.addToStudyList( this, m_words[m_wordIndex], s_lang ); + String word = m_words[m_wordIndex]; + DBUtils.addToStudyList( this, word, s_lang ); m_studyButton.setEnabled( false ); + + String msg = getString( R.string.add_donef, word ); + Utils.showToast( this, msg ); } }