Adham Adham - 1 year ago 388
Android Question

How to add icon inside EditText view in Android ?

I want to add a "search" icon to appear inside an

in the left edge? such as search box in Facebook Android app?

Answer Source

Use the android:drawableLeft property on the EditText.

    android:drawableLeft="@drawable/my_icon" />
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download