Это может показаться противоречивым, но есть ли способ отключить или удалить подсказку с плавающей меткой в TextInputLayout
? Причина, по которой я хочу использовать TextInputLayout
, а не только EditText
, - это счетчик, который предоставляет TextInputLayout
.
Вот что я до сих пор:
<android.support.design.widget.TextInputLayout
android:id="@+id/textContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scrollbars="vertical"
app:counterEnabled="true"
app:counterMaxLength="100">
<EditText
android:id="@+id/myEditText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="top|left"
android:inputType="textMultiLine|textCapSentences"
android:maxLength="100"
android:scrollbars="vertical"
android:hint="This is my cool hint"/>
</android.support.design.widget.TextInputLayout>