Skip to content

Commit b5e6349

Browse files
committed
Fix default inputType
1 parent ff19c33 commit b5e6349

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

edittext/src/main/kotlin/androidx/preference/EditTextPreferencePlus.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class EditTextPreferencePlus @JvmOverloads constructor(
5454
typedArray.getBoolean(R.styleable.EditTextPreferencePlus_formatSummary, false)
5555
inputType = typedArray.getInt(
5656
R.styleable.EditTextPreferencePlus_android_inputType,
57-
InputType.TYPE_NULL
57+
InputType.TYPE_CLASS_TEXT or InputType.TYPE_TEXT_FLAG_MULTI_LINE
5858
)
5959
hint = typedArray.getString(R.styleable.EditTextPreferencePlus_android_hint)
6060
mSummary = typedArray.getString(R.styleable.Preference_summary)

0 commit comments

Comments
 (0)