Created
December 24, 2019 11:45
-
-
Save sidishere/7b6818f763bdb84ea0e358696cd5b475 to your computer and use it in GitHub Desktop.
This file contains 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="match_parent" | |
android:paddingLeft="16dp" | |
android:paddingRight="16dp" | |
android:orientation="vertical" > | |
<EditText | |
android:id="@+id/name" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:hint="Enter your name" /> | |
<EditText | |
android:id="@+id/dob" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:hint="Enter you date of birth DD/MM/YYYY" /> | |
<TextView | |
android:id="@+id/message" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:textSize="16dp" | |
style="@style/TextAppearance.AppCompat.Body2" | |
android:layout_marginTop="16dp" /> | |
<TextView | |
android:layout_marginTop="120dp" | |
android:layout_width="240dp" | |
android:layout_height="wrap_content" | |
android:layout_gravity="center" | |
style="@style/TextAppearance.AppCompat.Body1" | |
android:textSize="16dp" | |
android:gravity="center" | |
android:text="Are you curious to know the day on which you were born!?" /> | |
<Button | |
android:layout_width="100dp" | |
android:layout_height="wrap_content" | |
android:layout_gravity="center" | |
android:text="Show birth day" | |
android:onClick="sendDOB"/> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment