123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <!-- tools:context=".RegisterFragment">-->
-
- <TextView
- android:id="@+id/tv_logo"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/register"
- android:textAlignment="center"
- android:textSize="50sp"
- android:layout_marginStart="25dp"
- android:layout_marginBottom="5dp"
- android:layout_marginTop="60dp"/>
-
- <EditText
- android:id="@+id/et_name"
- android:layout_width="match_parent"
- android:layout_height="50dp"
- android:hint="@string/your_name"
- android:layout_marginLeft="20dp"
- android:layout_marginRight="20dp"
- android:layout_marginBottom="10dp"
- android:padding="15dp"
- android:inputType="textPersonName"
- android:textSize="15sp" />
-
- <EditText
- android:id="@+id/et_email"
- android:layout_width="match_parent"
- android:layout_height="50dp"
- android:hint="@string/e_mail"
- android:layout_marginLeft="20dp"
- android:layout_marginRight="20dp"
- android:layout_marginBottom="10dp"
- android:padding="15dp"
- android:inputType="textEmailAddress"
- android:textSize="15sp" />
-
- <EditText
- android:id="@+id/et_password"
- android:layout_width="match_parent"
- android:layout_height="50dp"
- android:hint="@string/password"
- android:layout_marginLeft="20dp"
- android:layout_marginRight="20dp"
- android:layout_marginBottom="10dp"
- android:padding="15dp"
- android:inputType="textPassword"
- android:textSize="15sp" />
-
- <EditText
- android:id="@+id/et_repassword"
- android:layout_width="match_parent"
- android:layout_height="50dp"
- android:hint="@string/re_type_password"
- android:layout_marginLeft="20dp"
- android:layout_marginRight="20dp"
- android:padding="15dp"
- android:inputType="textPassword"
- android:textSize="15sp" />
-
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1">
-
- <Button
- android:id="@+id/btn_register"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="20dp"
- android:layout_marginRight="20dp"
- android:layout_marginBottom="30dp"
- android:layout_centerInParent="true"
- android:textColor="@android:color/white"
- android:text="@string/register"/>
-
- <ImageView
- android:layout_width="30dp"
- android:layout_height="30dp"
- android:layout_above="@id/to_login_activity"
- android:layout_centerHorizontal="true"/>
-
- <Button
- android:id="@+id/to_login_activity"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Already registered?"
- android:layout_centerHorizontal="true"
- android:layout_alignParentBottom="true"
- android:layout_marginBottom="20dp"/>
-
- </RelativeLayout>
-
- </LinearLayout>
|