|
|
@@ -1,213 +0,0 @@
|
|
|
-<?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:id="@+id/main"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:orientation="vertical"
|
|
|
- tools:context=".view.activity.test.ProcessDemoActivity">
|
|
|
-
|
|
|
- <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" />
|
|
|
-
|
|
|
- <EditText
|
|
|
- android:id="@+id/et_serial_no"
|
|
|
- android:layout_width="200dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:hint="Serial Number" />
|
|
|
- </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:hint="Ticket ID"
|
|
|
- android:inputType="number" />
|
|
|
-
|
|
|
- <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" />
|
|
|
-
|
|
|
- <Button
|
|
|
- android:id="@+id/equip_detail"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="50dp"
|
|
|
- android:layout_margin="5dp"
|
|
|
- android:minWidth="0dp"
|
|
|
- android:minHeight="0dp"
|
|
|
- android:text="Get Equip Detail"
|
|
|
- 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_lock_nfc"
|
|
|
- android:layout_width="300dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:hint="Lock NFC" />
|
|
|
-
|
|
|
- <Button
|
|
|
- android:id="@+id/lock_take"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="50dp"
|
|
|
- android:layout_margin="5dp"
|
|
|
- android:minWidth="0dp"
|
|
|
- android:minHeight="0dp"
|
|
|
- android:text="Update Lock Take"
|
|
|
- android:textSize="10sp" />
|
|
|
-
|
|
|
- <Button
|
|
|
- android:id="@+id/lock_return"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="50dp"
|
|
|
- android:layout_margin="5dp"
|
|
|
- android:minWidth="0dp"
|
|
|
- android:minHeight="0dp"
|
|
|
- android:text="Update Lock Return"
|
|
|
- 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_key_nfc"
|
|
|
- android:layout_width="100dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:hint="Key NFC" />
|
|
|
-
|
|
|
- <Button
|
|
|
- android:id="@+id/key_take"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="50dp"
|
|
|
- android:layout_margin="5dp"
|
|
|
- android:minWidth="0dp"
|
|
|
- android:minHeight="0dp"
|
|
|
- android:text="Update Key Take"
|
|
|
- android:textSize="10sp" />
|
|
|
-
|
|
|
- <Button
|
|
|
- android:id="@+id/key_return"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="50dp"
|
|
|
- android:layout_margin="5dp"
|
|
|
- android:minWidth="0dp"
|
|
|
- android:minHeight="0dp"
|
|
|
- android:text="Update Key Return"
|
|
|
- android:textSize="10sp" />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <CheckBox
|
|
|
- android:id="@+id/cb_is_lock"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="isLock"/>
|
|
|
-
|
|
|
- <Button
|
|
|
- android:id="@+id/update_point"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="50dp"
|
|
|
- android:layout_margin="5dp"
|
|
|
- android:minWidth="0dp"
|
|
|
- android:minHeight="0dp"
|
|
|
- android:text="Update Point(Locker Only)"
|
|
|
- android:textSize="10sp" />
|
|
|
-
|
|
|
- <Button
|
|
|
- android:id="@+id/update_progress"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="50dp"
|
|
|
- android:layout_margin="5dp"
|
|
|
- android:minWidth="0dp"
|
|
|
- android:minHeight="0dp"
|
|
|
- android:text="Update Progress(CoLocker Only)"
|
|
|
- android:textSize="10sp" />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <Button
|
|
|
- android:id="@+id/refresh_list"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="50dp"
|
|
|
- android:layout_margin="5dp"
|
|
|
- android:minWidth="0dp"
|
|
|
- android:minHeight="0dp"
|
|
|
- android:text="Refresh List"
|
|
|
- android:textSize="10sp" />
|
|
|
-
|
|
|
- <EditText
|
|
|
- android:id="@+id/et_lock_list"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:textColor="@color/main_color"
|
|
|
- android:padding="10dp"
|
|
|
- android:text="LockList : "
|
|
|
- android:textSize="15sp" />
|
|
|
- </LinearLayout>
|
|
|
-</LinearLayout>
|