Is it possible to set the margin or padding for the image which we added with the android:drawableLeft?
If the size of drawable resouce is fixed, you can do like this:
The key here is that:
android:drawableRight="@drawable/ic_clear_black_24dp"
android:paddingRight="10dp"
android:paddingLeft="34dp"
That is, the size of drawable resource plus paddingRight is the paddingLeft.
You can see the result in this example