|
|
@@ -9,151 +9,171 @@
|
|
|
android:gravity="center"
|
|
|
tools:context=".activity.MainActivity">
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:gravity="center">
|
|
|
- <Button
|
|
|
- android:id="@+id/ble"
|
|
|
- android:layout_width="80dp"
|
|
|
- android:layout_height="50dp"
|
|
|
- android:minWidth="0dp"
|
|
|
- android:minHeight="0dp"
|
|
|
- android:text="BLE"
|
|
|
- android:textSize="10sp"
|
|
|
- android:layout_margin="5dp"/>
|
|
|
+ <Button
|
|
|
+ android:id="@+id/modbus"
|
|
|
+ android:layout_width="80dp"
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:minWidth="0dp"
|
|
|
+ android:minHeight="0dp"
|
|
|
+ android:text="ModBus"
|
|
|
+ android:textSize="10sp"
|
|
|
+ android:layout_margin="5dp"/>
|
|
|
|
|
|
- <Button
|
|
|
- android:id="@+id/modbus"
|
|
|
- android:layout_width="80dp"
|
|
|
- android:layout_height="50dp"
|
|
|
- android:minWidth="0dp"
|
|
|
- android:minHeight="0dp"
|
|
|
- android:text="ModBus"
|
|
|
- android:textSize="10sp"
|
|
|
- android:layout_margin="5dp"/>
|
|
|
+ <Button
|
|
|
+ android:id="@+id/simple_demo"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:minWidth="0dp"
|
|
|
+ android:minHeight="0dp"
|
|
|
+ android:text="Simple Demo"
|
|
|
+ android:textSize="10sp"
|
|
|
+ android:layout_margin="5dp"/>
|
|
|
|
|
|
- <Button
|
|
|
- android:id="@+id/websocket"
|
|
|
- android:layout_width="80dp"
|
|
|
- android:layout_height="50dp"
|
|
|
- android:minWidth="0dp"
|
|
|
- android:minHeight="0dp"
|
|
|
- android:text="WebSocket"
|
|
|
- android:textSize="10sp"
|
|
|
- android:layout_margin="5dp"/>
|
|
|
+<!-- <LinearLayout-->
|
|
|
+<!-- android:layout_width="match_parent"-->
|
|
|
+<!-- android:layout_height="wrap_content"-->
|
|
|
+<!-- android:orientation="horizontal"-->
|
|
|
+<!-- android:gravity="center">-->
|
|
|
+<!-- <Button-->
|
|
|
+<!-- android:id="@+id/ble"-->
|
|
|
+<!-- android:layout_width="80dp"-->
|
|
|
+<!-- android:layout_height="50dp"-->
|
|
|
+<!-- android:minWidth="0dp"-->
|
|
|
+<!-- android:minHeight="0dp"-->
|
|
|
+<!-- android:text="BLE"-->
|
|
|
+<!-- android:textSize="10sp"-->
|
|
|
+<!-- android:layout_margin="5dp"/>-->
|
|
|
|
|
|
- <Button
|
|
|
- android:id="@+id/rfid"
|
|
|
- android:layout_width="80dp"
|
|
|
- android:layout_height="50dp"
|
|
|
- android:minWidth="0dp"
|
|
|
- android:minHeight="0dp"
|
|
|
- android:text="RFID"
|
|
|
- android:textSize="10sp"
|
|
|
- android:layout_margin="5dp"/>
|
|
|
+<!-- <Button-->
|
|
|
+<!-- android:id="@+id/modbus"-->
|
|
|
+<!-- android:layout_width="80dp"-->
|
|
|
+<!-- android:layout_height="50dp"-->
|
|
|
+<!-- android:minWidth="0dp"-->
|
|
|
+<!-- android:minHeight="0dp"-->
|
|
|
+<!-- android:text="ModBus"-->
|
|
|
+<!-- android:textSize="10sp"-->
|
|
|
+<!-- android:layout_margin="5dp"/>-->
|
|
|
|
|
|
- <Button
|
|
|
- android:id="@+id/auth"
|
|
|
- android:layout_width="80dp"
|
|
|
- android:layout_height="50dp"
|
|
|
- android:minWidth="0dp"
|
|
|
- android:minHeight="0dp"
|
|
|
- android:text="Auth Page"
|
|
|
- android:textSize="10sp"
|
|
|
- android:layout_margin="5dp"/>
|
|
|
+<!-- <Button-->
|
|
|
+<!-- android:id="@+id/websocket"-->
|
|
|
+<!-- android:layout_width="80dp"-->
|
|
|
+<!-- android:layout_height="50dp"-->
|
|
|
+<!-- android:minWidth="0dp"-->
|
|
|
+<!-- android:minHeight="0dp"-->
|
|
|
+<!-- android:text="WebSocket"-->
|
|
|
+<!-- android:textSize="10sp"-->
|
|
|
+<!-- android:layout_margin="5dp"/>-->
|
|
|
|
|
|
- <Button
|
|
|
- android:id="@+id/home"
|
|
|
- android:layout_width="80dp"
|
|
|
- android:layout_height="50dp"
|
|
|
- android:minWidth="0dp"
|
|
|
- android:minHeight="0dp"
|
|
|
- android:text="HomePage"
|
|
|
- android:textSize="10sp"
|
|
|
- android:layout_margin="5dp"/>
|
|
|
+<!-- <Button-->
|
|
|
+<!-- android:id="@+id/rfid"-->
|
|
|
+<!-- android:layout_width="80dp"-->
|
|
|
+<!-- android:layout_height="50dp"-->
|
|
|
+<!-- android:minWidth="0dp"-->
|
|
|
+<!-- android:minHeight="0dp"-->
|
|
|
+<!-- android:text="RFID"-->
|
|
|
+<!-- android:textSize="10sp"-->
|
|
|
+<!-- android:layout_margin="5dp"/>-->
|
|
|
|
|
|
- <Button
|
|
|
- android:id="@+id/sop"
|
|
|
- android:layout_width="80dp"
|
|
|
- android:layout_height="50dp"
|
|
|
- android:minWidth="0dp"
|
|
|
- android:minHeight="0dp"
|
|
|
- android:text="SOP"
|
|
|
- android:textSize="10sp"
|
|
|
- android:layout_margin="5dp"/>
|
|
|
- </LinearLayout>
|
|
|
+<!-- <Button-->
|
|
|
+<!-- android:id="@+id/auth"-->
|
|
|
+<!-- android:layout_width="80dp"-->
|
|
|
+<!-- android:layout_height="50dp"-->
|
|
|
+<!-- android:minWidth="0dp"-->
|
|
|
+<!-- android:minHeight="0dp"-->
|
|
|
+<!-- android:text="Auth Page"-->
|
|
|
+<!-- android:textSize="10sp"-->
|
|
|
+<!-- android:layout_margin="5dp"/>-->
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:gravity="center">
|
|
|
- <Button
|
|
|
- android:id="@+id/presentation"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="50dp"
|
|
|
- android:minWidth="0dp"
|
|
|
- android:minHeight="0dp"
|
|
|
- android:text="Presentation"
|
|
|
- android:textSize="10sp"
|
|
|
- android:layout_margin="5dp"/>
|
|
|
+<!-- <Button-->
|
|
|
+<!-- android:id="@+id/home"-->
|
|
|
+<!-- android:layout_width="80dp"-->
|
|
|
+<!-- android:layout_height="50dp"-->
|
|
|
+<!-- android:minWidth="0dp"-->
|
|
|
+<!-- android:minHeight="0dp"-->
|
|
|
+<!-- android:text="HomePage"-->
|
|
|
+<!-- android:textSize="10sp"-->
|
|
|
+<!-- android:layout_margin="5dp"/>-->
|
|
|
|
|
|
- <Button
|
|
|
- android:id="@+id/presentation_login"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="50dp"
|
|
|
- android:minWidth="0dp"
|
|
|
- android:minHeight="0dp"
|
|
|
- android:text="Presentation Login"
|
|
|
- android:textSize="10sp"
|
|
|
- android:layout_margin="5dp"/>
|
|
|
+<!-- <Button-->
|
|
|
+<!-- android:id="@+id/sop"-->
|
|
|
+<!-- android:layout_width="80dp"-->
|
|
|
+<!-- android:layout_height="50dp"-->
|
|
|
+<!-- android:minWidth="0dp"-->
|
|
|
+<!-- android:minHeight="0dp"-->
|
|
|
+<!-- android:text="SOP"-->
|
|
|
+<!-- android:textSize="10sp"-->
|
|
|
+<!-- android:layout_margin="5dp"/>-->
|
|
|
+<!-- </LinearLayout>-->
|
|
|
|
|
|
- <Button
|
|
|
- android:id="@+id/process_demo"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="50dp"
|
|
|
- android:minWidth="0dp"
|
|
|
- android:minHeight="0dp"
|
|
|
- android:text="Process Demo"
|
|
|
- android:textSize="10sp"
|
|
|
- android:layout_margin="5dp"/>
|
|
|
+<!-- <LinearLayout-->
|
|
|
+<!-- android:layout_width="match_parent"-->
|
|
|
+<!-- android:layout_height="wrap_content"-->
|
|
|
+<!-- android:orientation="horizontal"-->
|
|
|
+<!-- android:gravity="center">-->
|
|
|
+<!-- <Button-->
|
|
|
+<!-- android:id="@+id/presentation"-->
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
+<!-- android:layout_height="50dp"-->
|
|
|
+<!-- android:minWidth="0dp"-->
|
|
|
+<!-- android:minHeight="0dp"-->
|
|
|
+<!-- android:text="Presentation"-->
|
|
|
+<!-- android:textSize="10sp"-->
|
|
|
+<!-- android:layout_margin="5dp"/>-->
|
|
|
|
|
|
- <Button
|
|
|
- android:id="@+id/simple_demo"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="50dp"
|
|
|
- android:minWidth="0dp"
|
|
|
- android:minHeight="0dp"
|
|
|
- android:text="Simple Demo"
|
|
|
- android:textSize="10sp"
|
|
|
- android:layout_margin="5dp"/>
|
|
|
- </LinearLayout>
|
|
|
+<!-- <Button-->
|
|
|
+<!-- android:id="@+id/presentation_login"-->
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
+<!-- android:layout_height="50dp"-->
|
|
|
+<!-- android:minWidth="0dp"-->
|
|
|
+<!-- android:minHeight="0dp"-->
|
|
|
+<!-- android:text="Presentation Login"-->
|
|
|
+<!-- android:textSize="10sp"-->
|
|
|
+<!-- android:layout_margin="5dp"/>-->
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:gravity="center">
|
|
|
- <Button
|
|
|
- android:id="@+id/login"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="50dp"
|
|
|
- android:minWidth="0dp"
|
|
|
- android:minHeight="0dp"
|
|
|
- android:text="Login"
|
|
|
- android:textSize="10sp"
|
|
|
- android:layout_margin="5dp"/>
|
|
|
+<!-- <Button-->
|
|
|
+<!-- android:id="@+id/process_demo"-->
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
+<!-- android:layout_height="50dp"-->
|
|
|
+<!-- android:minWidth="0dp"-->
|
|
|
+<!-- android:minHeight="0dp"-->
|
|
|
+<!-- android:text="Process Demo"-->
|
|
|
+<!-- android:textSize="10sp"-->
|
|
|
+<!-- android:layout_margin="5dp"/>-->
|
|
|
|
|
|
- <Button
|
|
|
- android:id="@+id/create_ticket"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="50dp"
|
|
|
- android:minWidth="0dp"
|
|
|
- android:minHeight="0dp"
|
|
|
- android:text="Create Ticket"
|
|
|
- android:textSize="10sp"
|
|
|
- android:layout_margin="5dp"/>
|
|
|
- </LinearLayout>
|
|
|
+<!-- <Button-->
|
|
|
+<!-- android:id="@+id/simple_demo"-->
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
+<!-- android:layout_height="50dp"-->
|
|
|
+<!-- android:minWidth="0dp"-->
|
|
|
+<!-- android:minHeight="0dp"-->
|
|
|
+<!-- android:text="Simple Demo"-->
|
|
|
+<!-- android:textSize="10sp"-->
|
|
|
+<!-- android:layout_margin="5dp"/>-->
|
|
|
+<!-- </LinearLayout>-->
|
|
|
+
|
|
|
+<!-- <LinearLayout-->
|
|
|
+<!-- android:layout_width="match_parent"-->
|
|
|
+<!-- android:layout_height="wrap_content"-->
|
|
|
+<!-- android:orientation="horizontal"-->
|
|
|
+<!-- android:gravity="center">-->
|
|
|
+<!-- <Button-->
|
|
|
+<!-- android:id="@+id/login"-->
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
+<!-- android:layout_height="50dp"-->
|
|
|
+<!-- android:minWidth="0dp"-->
|
|
|
+<!-- android:minHeight="0dp"-->
|
|
|
+<!-- android:text="Login"-->
|
|
|
+<!-- android:textSize="10sp"-->
|
|
|
+<!-- android:layout_margin="5dp"/>-->
|
|
|
+
|
|
|
+<!-- <Button-->
|
|
|
+<!-- android:id="@+id/create_ticket"-->
|
|
|
+<!-- android:layout_width="wrap_content"-->
|
|
|
+<!-- android:layout_height="50dp"-->
|
|
|
+<!-- android:minWidth="0dp"-->
|
|
|
+<!-- android:minHeight="0dp"-->
|
|
|
+<!-- android:text="Create Ticket"-->
|
|
|
+<!-- android:textSize="10sp"-->
|
|
|
+<!-- android:layout_margin="5dp"/>-->
|
|
|
+<!-- </LinearLayout>-->
|
|
|
</LinearLayout>
|