DrawableLeft gets a match with a tooltip using using TextInputLayout android

When I try to add a drawable to the left of the EditText with TextInputLayout, the edittext hint becomes the same as drawable.

How to avoid superimposed overlap. Without using TextInputLayout drawableLeft works fine

<android.support.design.widget.TextInputLayout android:layout_width="match_parent" android:layout_height="wrap_content"> <EditText android:layout_width="match_parent" android:layout_height="wrap_content" android:hint="@string/email" android:inputType="textEmailAddress" android:drawableLef="@drawable/email" /> </android.support.design.widget.TextInputLayout> 
+6
source share
2 answers

app:hintAnimationEnabled="false" eliminates the problem of text prompts for grinding in a pre-filled text field.

0
source

Source: https://habr.com/ru/post/988509/


All Articles