XML CODE-WPS Office
XML CODE-WPS Office
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="20dp">
<Button
android:id="@+id/btnLoginTab"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="Login" />
<Button
android:id="@+id/btnRegisterTab"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="Register" />
</LinearLayout>
<EditText
android:id="@+id/etLoginEmail"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Email" />
<EditText
android:id="@+id/etLoginPassword"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Password"
android:inputType="textPassword" />
<Button
android:id="@+id/btnLogin"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Login" />
</LinearLayout>
<EditText
android:id="@+id/etRegisterName"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Full Name" />
<EditText
android:id="@+id/etRegisterEmail"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Email" />
<EditText
android:id="@+id/etRegisterPassword"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Password"
android:inputType="textPassword" />
<Button
android:id="@+id/btnRegister"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Register" />
</LinearLayout>
</LinearLayout>
</ScrollView>