Ich habe viele Optionen online getestet, aber keine von ihnen scheint zu funktionieren.Wie Textinputlayout Hinweis Android in mehreren Zeilen erhalten?
Ich habe dieses XML für diesen Zweck verwendet.
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:hintTextAppearance="@style/TextLabel">
<com.projects.fonts.RobotoEditText
style="@style/EditText"
android:hint="@string/description"
android:singleLine="false"
app:font="@string/roboto_regular" />
</android.support.design.widget.TextInputLayout>
Ich habe setzen auch
<item name="android:singleLine">false</item>
sowohl in Textlabel und EditText. Aber keiner von ihnen arbeitet.
Erweitert RobotoEditText android.support.design.widget.TextInputEditText? –
@ qnd-S Ja, es tut .. –