Created
January 3, 2025 02:08
-
-
Save Sprajapati123/72c13f62cc66489aaefbe39f4d25e06e to your computer and use it in GitHub Desktop.
activity_register.xml
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" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:orientation="vertical" | |
android:id="@+id/main" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
tools:context=".ui.activity.RegisterActivity"> | |
<EditText | |
android:id="@+id/registerFname" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:ems="10" | |
android:inputType="text" | |
android:hint="Enter first name" /> | |
<EditText | |
android:id="@+id/registerLName" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:ems="10" | |
android:inputType="text" | |
android:hint="Enter last name" /> | |
<EditText | |
android:id="@+id/registerAddress" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:ems="10" | |
android:inputType="text" | |
android:hint="Enter address" /> | |
<EditText | |
android:id="@+id/registerContact" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:ems="10" | |
android:inputType="phone" | |
android:hint="Enter phone number" /> | |
<EditText | |
android:id="@+id/registerEmail" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:ems="10" | |
android:inputType="textEmailAddress" | |
android:hint="Enter email" /> | |
<EditText | |
android:id="@+id/registerPassword" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:ems="10" | |
android:inputType="textPassword" | |
android:hint="Enter password" /> | |
<Button | |
android:id="@+id/signUp" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:text="Sign up" /> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment