When I try to add a drawable to left of EditText with TextInputLayout the edittext hint is getting overlapped with the drawable.
How to avoid the drawable overlapping. Without using the TextInputLayout the drawableLeft is working 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>
This was the bug in the library but now in new release Version-22.2.1 this issue is fixed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With