add icon inside edittext android code example
Example: how to put icons inside of an edittext android
<EditText
android:id="@+id/email"
android:drawableLeft="@drawable/ic_email_black_24dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textEmailAddress"
/>