Add prefences.Json show summary

This commit is contained in:
LadyViktoria 2017-01-25 15:32:38 +01:00 committed by viktoria
parent b898fc044e
commit 2a0968eba9

View file

@ -57,7 +57,7 @@ public class PreferencesActivity extends PreferenceActivity implements SharedPre
{
pref.setSummary("******");
} else if (editTextPref.getText() != null && !editTextPref.getText().equals("")){
pref.setSummary(editTextPref.getText());
pref.setSummary("Value is set to: " +editTextPref.getText() + "\n" + editTextPref.getSummary());
}
}
if (pref instanceof MultiSelectListPreference) {