1
AppCompatEditTextをアプリケーションで使用していますが、ヒントが大きすぎるため、2行または3行で表示する方法はありません。事前に AppCompatEditTextヒントを2行または3行目に表示する
ありがとう:ここ
<android.support.design.widget.TextInputLayout
android:id="@+id/txt_stu_passed_eight"
style="@style/TextAppearence.TextInputLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="gone">
<android.support.v7.widget.AppCompatEditText
android:id="@+id/edt_stu_passed_eight"
style="@style/customEdittext"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/how_many_of_them_passed_school"
android:inputType="number" />
</android.support.design.widget.TextInputLayout>
はのEditTextのスクリーンショットです。
あなたAppCompatEditText内部のタグminLinesを使用してみたのですか? –
しかし、私は入力テキスト用ではないヒントのために複数行が必要です –