I am using a textInputEditText and I would like to add a drawable without affect on hint.
when I add the drawable the hint has a padding effect.
here is the code:
<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/cell"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:drawableStart="@drawable/ic_local_phone_black_24dp"
android:hint="@string/cell"
android:paddingStart="10dp"
android:paddingTop="10dp"
android:paddingEnd="10dp"
android:singleLine="true"
android:text="@{personalInfo.phone ?? `-`}"
android:textColor="@color/gray_4d"
tools:hint="@string/cell"
tools:text="362-43-23-5-3" />
</com.google.android.material.textfield.TextInputLayout>