|
|
@@ -1,10 +1,72 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
- xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
android:id="@+id/main"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
+ android:orientation="vertical"
|
|
|
tools:context=".activity.test.ProcessDemoActivity">
|
|
|
|
|
|
-</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/et_username"
|
|
|
+ android:layout_width="100dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:hint="User name" />
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/et_password"
|
|
|
+ android:layout_width="100dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:hint="Password" />
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/login"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:layout_margin="5dp"
|
|
|
+ android:minWidth="0dp"
|
|
|
+ android:minHeight="0dp"
|
|
|
+ android:text="Login"
|
|
|
+ android:textSize="10sp" />
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/logout"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:layout_margin="5dp"
|
|
|
+ android:minWidth="0dp"
|
|
|
+ android:minHeight="0dp"
|
|
|
+ android:text="Logout"
|
|
|
+ android:textSize="10sp" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/et_ticket_id"
|
|
|
+ android:layout_width="100dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:inputType="number"
|
|
|
+ android:hint="Ticket ID" />
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/ticket_detail"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:layout_margin="5dp"
|
|
|
+ android:minWidth="0dp"
|
|
|
+ android:minHeight="0dp"
|
|
|
+ android:text="Get Ticket Detail"
|
|
|
+ android:textSize="10sp" />
|
|
|
+ </LinearLayout>
|
|
|
+</LinearLayout>
|