I can't seem to understand why I keep getting the "default" string show up when I grab input from the EditTextPreference.
<EditTextPreference
android:title="@string/settings_title_signature"
android:summary="@string/settings_enter_signature"
android:singleLine="true"
android:key="edit_signature_key"
/>
I never seem to get what the textfield has using Sharedpreferences. It just defaults to the "default", and not what should be in the key.
SharedPreferences myPreference = PreferenceManager.getDefaultSharedPreferences(this);
String sig = myPreference.getString("edit_signature_key", "default");