Does anyone know how to shift EditText
hints a little bit on the right so my drawables on the left of the hint don't stand so sticky?
I tried with gravity attribute but it seems that that's not the good way to do it. I am thinking about to nest an imageView + an editText in a container for every input of my formula but it seems a bit dirty, isn't it?
You can use drawablePadding
property:
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:drawableStart="@android:drawable/star_big_on"
android:drawablePadding="10dp"
android:hint="Username"/>
Result: