how to add an icon

how i can add an icon to my edittext

Answers

  • BillyLiuBillyLiu Member, Xamarin Team Xamurai
    edited January 2018

    You could use android:drawableLeft property.

    For example:
    <EditText android:layout_width="match_parent" android:layout_height="wrap_content" android:drawableLeft="@drawable/icon"/>

Sign In or Register to comment.