EditText Message
lucari93 opened this issue · 5 comments
lucari93 commented
I'm using EditTextPreference in this way:
<com.lb.material_preferences_library.custom_preferences.EditTextPreference
android:defaultValue="@string/a"
android:hint="@string/a"
android:inputType="number"
android:key="@string/b"
android:title="@string/c"
app:dialogMessage="@string/d" />
but the description isn't shown. Where am I wrong?
Thank You
AndroidDeveloperLB commented
I don't see you've set the description. Only similar thing you used is the dialog message.
If you want a description below the title of the EditTextPreference , you need to use android:summary .
It's not something new. It was always there:
https://developer.android.com/reference/android/preference/Preference.html#attr_android:summary
lucari93 commented
Sorry, I used a wrong term. I don't see the "dialogMessage" that I've set.
AndroidDeveloperLB commented
You wrote it in the end :
"app:dialogMessage="@string/d""
But I see it doesn't work for some reason. will need to investigate and fix this.
AndroidDeveloperLB commented
OK, fixed. Try newest version now.
lucari93 commented
Thank you very much!