|
|
@@ -5,77 +5,99 @@
|
|
|
android:id="@+id/main"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:orientation="horizontal"
|
|
|
+ android:orientation="vertical"
|
|
|
android:gravity="center"
|
|
|
tools:context=".activity.MainActivity">
|
|
|
|
|
|
- <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"/>
|
|
|
+ <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/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/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/http"
|
|
|
- android:layout_width="80dp"
|
|
|
- android:layout_height="50dp"
|
|
|
- android:minWidth="0dp"
|
|
|
- android:minHeight="0dp"
|
|
|
- android:text="HTTP"
|
|
|
- android:textSize="10sp"
|
|
|
- android:layout_margin="5dp"/>
|
|
|
+ <Button
|
|
|
+ android:id="@+id/http"
|
|
|
+ android:layout_width="80dp"
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:minWidth="0dp"
|
|
|
+ android:minHeight="0dp"
|
|
|
+ android:text="HTTP"
|
|
|
+ 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="AuthPage"
|
|
|
- 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="AuthPage"
|
|
|
+ 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/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/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"/>
|
|
|
+ <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>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical"
|
|
|
+ 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"/>
|
|
|
+ </LinearLayout>
|
|
|
</LinearLayout>
|