Created
January 9, 2018 16:39
-
-
Save navczydev/691406ed0b50425a8c8fe9487863ac62 to your computer and use it in GitHub Desktop.
Floating Label Text
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
| <?xml version="1.0" encoding="utf-8"?> | |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content" | |
| android:layout_gravity="center" | |
| android:orientation="vertical" | |
| android:paddingLeft="20dp" | |
| android:paddingRight="20dp" > | |
| <android.support.design.widget.TextInputLayout | |
| android:id="@+id/signUpName" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content" | |
| android:layout_marginTop="10dp"> | |
| <EditText | |
| android:id="@+id/signUppName" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content" | |
| android:ems="10" | |
| android:hint="@string/name"/> | |
| </android.support.design.widget.TextInputLayout> | |
| <android.support.design.widget.TextInputLayout | |
| android:id="@+id/signUppEmail" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content" | |
| android:layout_marginTop="10dp"> | |
| <EditText | |
| android:id="@+id/signUpEmail" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content" | |
| android:ems="10" | |
| android:inputType="textEmailAddress" | |
| android:hint="@string/email" /> | |
| </android.support.design.widget.TextInputLayout> | |
| <android.support.design.widget.TextInputLayout | |
| android:id="@+id/signUpPassword" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content" | |
| android:layout_marginTop="10dp"> | |
| <EditText | |
| android:id="@+id/signUppPassword" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content" | |
| android:ems="10" | |
| android:inputType="textPassword" | |
| android:hint="@string/password" /> | |
| </android.support.design.widget.TextInputLayout> | |
| </LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment