I am having one contact form in which I would like to add some icons to my edit text for a better look. I want to create EditText something like below.
You can use android:drawablePadding="10dp" property in the xml file. There's no need to create separate imagview for the icon.
android:drawablePadding="10dp"