Add icon inside edittext view in android

Use the android:drawableLeft property on the EditText.



Same way you can Use the android:drawableRight property on the EditText. Which will display icon on right side.

Leave a Reply

Your email address will not be published.