Created
September 5, 2017 11:48
-
-
Save danikx/78d67855546e2d241a0b04bd73aebd62 to your computer and use it in GitHub Desktop.
android edittext with icon
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--https://github.com/lasemcode/android-login-screen/blob/v1.0/app/src/main/res/layout/login_activity.xml--> | |
<EditText | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="50dp" | |
android:background="#D81B60" | |
android:drawableLeft="@drawable/ic_user_24dp" | |
android:drawablePadding="16dp" | |
android:drawableTint="@android:color/white" | |
android:hint="Username" | |
android:padding="10dp" | |
android:textColor="@android:color/white" | |
android:textColorHint="@android:color/white" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment