| | |
| | | </RelativeLayout> |
| | | |
| | | <!-- **************** 单轴 **************** --> |
| | | <RelativeLayout |
| | | |
| | | <GridLayout |
| | | android:id="@+id/layout_single" |
| | | android:visibility="gone" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="0dp" |
| | | android:layout_weight="6" |
| | | android:visibility="gone"> |
| | | android:rowCount="3" |
| | | android:columnCount="3"> |
| | | |
| | | <com.google.android.material.button.MaterialButton |
| | | android:id="@+id/btn_single_1" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_alignParentLeft="true" |
| | | android:layout_marginTop="10sp" |
| | | android:layout_marginLeft="20sp" |
| | | android:backgroundTint="#2196F3" |
| | | android:text="轴 - 1" |
| | | app:cornerRadius="5dp" /> |
| | | <LinearLayout |
| | | android:layout_width="0dp" |
| | | android:layout_height="0dp" |
| | | android:layout_rowWeight="1" |
| | | android:layout_columnWeight="1" |
| | | android:orientation="vertical" |
| | | android:gravity="center"> |
| | | <com.google.android.material.button.MaterialButton |
| | | android:id="@+id/btn_axle_1_front" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="40dp" |
| | | android:text="正转" |
| | | android:layout_centerHorizontal="true" |
| | | app:cornerRadius="5dp" |
| | | android:paddingLeft="10dp" |
| | | android:paddingRight="10dp" |
| | | android:minWidth="10dp" |
| | | android:textSize="10sp" |
| | | android:backgroundTint="#2196F3" |
| | | android:layout_marginBottom="10sp" |
| | | android:visibility="gone"/> |
| | | <com.google.android.material.button.MaterialButton |
| | | android:id="@+id/btn_axle_1_back" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="40dp" |
| | | android:text="反转" |
| | | android:layout_centerHorizontal="true" |
| | | app:cornerRadius="5dp" |
| | | android:paddingLeft="10dp" |
| | | android:paddingRight="10dp" |
| | | android:minWidth="10dp" |
| | | android:textSize="10sp" |
| | | android:backgroundTint="#2196F3" |
| | | android:layout_marginBottom="10sp" |
| | | android:visibility="gone"/> |
| | | <Switch |
| | | android:id="@+id/switch1" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="左轮使能" |
| | | android:textSize="12sp" |
| | | android:layout_alignParentBottom="true" |
| | | android:layout_centerHorizontal="true" |
| | | /> |
| | | |
| | | <com.google.android.material.button.MaterialButton |
| | | android:id="@+id/btn_single_2" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_alignLeft="@+id/btn_single_5" |
| | | android:layout_marginTop="10sp" |
| | | android:backgroundTint="#2196F3" |
| | | android:text="轴 - 2" |
| | | app:cornerRadius="5dp" /> |
| | | </LinearLayout> |
| | | <LinearLayout |
| | | android:layout_width="0dp" |
| | | android:layout_height="0dp" |
| | | android:layout_rowWeight="1" |
| | | android:layout_columnWeight="1" |
| | | android:orientation="vertical" |
| | | android:gravity="center"> |
| | | <com.google.android.material.button.MaterialButton |
| | | android:id="@+id/btn_axle_2_front" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="40dp" |
| | | android:text="正转" |
| | | android:layout_centerHorizontal="true" |
| | | app:cornerRadius="5dp" |
| | | android:paddingLeft="10dp" |
| | | android:paddingRight="10dp" |
| | | android:minWidth="10dp" |
| | | android:textSize="10sp" |
| | | android:backgroundTint="#2196F3" |
| | | android:layout_marginBottom="10sp" |
| | | android:visibility="gone"/> |
| | | <com.google.android.material.button.MaterialButton |
| | | android:id="@+id/btn_axle_2_back" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="40dp" |
| | | android:text="反转" |
| | | android:layout_centerHorizontal="true" |
| | | app:cornerRadius="5dp" |
| | | android:paddingLeft="10dp" |
| | | android:paddingRight="10dp" |
| | | android:minWidth="10dp" |
| | | android:textSize="10sp" |
| | | android:backgroundTint="#2196F3" |
| | | android:layout_marginBottom="10sp" |
| | | android:visibility="gone"/> |
| | | <Switch |
| | | android:id="@+id/switch2" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="右轮使能" |
| | | android:textSize="12sp" |
| | | android:layout_alignParentBottom="true" |
| | | android:layout_centerHorizontal="true" |
| | | /> |
| | | |
| | | <com.google.android.material.button.MaterialButton |
| | | android:id="@+id/btn_single_3" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_alignParentRight="true" |
| | | android:layout_marginRight="20sp" |
| | | android:layout_marginTop="10sp" |
| | | android:backgroundTint="#2196F3" |
| | | android:text="轴 - 3" |
| | | app:cornerRadius="5dp" /> |
| | | </LinearLayout> |
| | | <LinearLayout |
| | | android:layout_width="0dp" |
| | | android:layout_height="0dp" |
| | | android:layout_rowWeight="1" |
| | | android:layout_columnWeight="1" |
| | | android:orientation="vertical" |
| | | android:gravity="center"> |
| | | <com.google.android.material.button.MaterialButton |
| | | android:id="@+id/btn_axle_3_front" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="40dp" |
| | | android:text="上升" |
| | | android:layout_centerHorizontal="true" |
| | | app:cornerRadius="5dp" |
| | | android:paddingLeft="10dp" |
| | | android:paddingRight="10dp" |
| | | android:minWidth="10dp" |
| | | android:textSize="10sp" |
| | | android:backgroundTint="#2196F3" |
| | | android:layout_marginBottom="10sp" |
| | | android:visibility="gone"/> |
| | | <com.google.android.material.button.MaterialButton |
| | | android:id="@+id/btn_axle_3_back" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="40dp" |
| | | android:text="下降" |
| | | android:layout_centerHorizontal="true" |
| | | app:cornerRadius="5dp" |
| | | android:paddingLeft="10dp" |
| | | android:paddingRight="10dp" |
| | | android:minWidth="10dp" |
| | | android:textSize="10sp" |
| | | android:backgroundTint="#2196F3" |
| | | android:layout_marginBottom="10sp" |
| | | android:visibility="gone"/> |
| | | <Switch |
| | | android:id="@+id/switch3" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="升降使能" |
| | | android:textSize="12sp" |
| | | android:layout_alignParentBottom="true" |
| | | android:layout_centerHorizontal="true" |
| | | /> |
| | | |
| | | <com.google.android.material.button.MaterialButton |
| | | android:id="@+id/btn_single_4" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_alignLeft="@+id/btn_single_1" |
| | | android:layout_alignBottom="@+id/btn_single_5" |
| | | android:backgroundTint="#2196F3" |
| | | android:text="轴 - 4" |
| | | app:cornerRadius="5dp" /> |
| | | </LinearLayout> |
| | | <LinearLayout |
| | | android:layout_width="0dp" |
| | | android:layout_height="0dp" |
| | | android:layout_rowWeight="1" |
| | | android:layout_columnWeight="1" |
| | | android:orientation="vertical" |
| | | android:gravity="center"> |
| | | <com.google.android.material.button.MaterialButton |
| | | android:id="@+id/btn_axle_4_front" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="40dp" |
| | | android:text="正向" |
| | | android:layout_centerHorizontal="true" |
| | | app:cornerRadius="5dp" |
| | | android:paddingLeft="10dp" |
| | | android:paddingRight="10dp" |
| | | android:minWidth="10dp" |
| | | android:textSize="10sp" |
| | | android:backgroundTint="#2196F3" |
| | | android:layout_marginBottom="10sp" |
| | | android:visibility="gone"/> |
| | | <com.google.android.material.button.MaterialButton |
| | | android:id="@+id/btn_axle_4_back" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="40dp" |
| | | android:text="反向" |
| | | android:layout_centerHorizontal="true" |
| | | app:cornerRadius="5dp" |
| | | android:paddingLeft="10dp" |
| | | android:paddingRight="10dp" |
| | | android:minWidth="10dp" |
| | | android:textSize="10sp" |
| | | android:backgroundTint="#2196F3" |
| | | android:layout_marginBottom="10sp" |
| | | android:visibility="gone"/> |
| | | <Switch |
| | | android:id="@+id/switch4" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="货叉回转使能" |
| | | android:textSize="12sp" |
| | | android:layout_alignParentBottom="true" |
| | | android:layout_centerHorizontal="true" |
| | | /> |
| | | |
| | | <com.google.android.material.button.MaterialButton |
| | | android:id="@+id/btn_single_5" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_centerInParent="true" |
| | | android:backgroundTint="#2196F3" |
| | | android:text="轴 - 5" |
| | | app:cornerRadius="5dp" /> |
| | | </LinearLayout> |
| | | <LinearLayout |
| | | android:layout_width="0dp" |
| | | android:layout_height="0dp" |
| | | android:layout_rowWeight="1" |
| | | android:layout_columnWeight="1" |
| | | android:orientation="vertical" |
| | | android:gravity="center"> |
| | | <com.google.android.material.button.MaterialButton |
| | | android:id="@+id/btn_axle_5_front" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="40dp" |
| | | android:text="伸出" |
| | | android:layout_centerHorizontal="true" |
| | | app:cornerRadius="5dp" |
| | | android:paddingLeft="10dp" |
| | | android:paddingRight="10dp" |
| | | android:minWidth="10dp" |
| | | android:textSize="10sp" |
| | | android:backgroundTint="#2196F3" |
| | | android:layout_marginBottom="10sp" |
| | | android:visibility="gone"/> |
| | | <com.google.android.material.button.MaterialButton |
| | | android:id="@+id/btn_axle_5_back" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="40dp" |
| | | android:text="回缩" |
| | | android:layout_centerHorizontal="true" |
| | | app:cornerRadius="5dp" |
| | | android:paddingLeft="10dp" |
| | | android:paddingRight="10dp" |
| | | android:minWidth="10dp" |
| | | android:textSize="10sp" |
| | | android:backgroundTint="#2196F3" |
| | | android:layout_marginBottom="10sp" |
| | | android:visibility="gone"/> |
| | | <Switch |
| | | android:id="@+id/switch5" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="货叉伸缩使能" |
| | | android:textSize="12sp" |
| | | android:layout_alignParentBottom="true" |
| | | android:layout_centerHorizontal="true" |
| | | /> |
| | | |
| | | <com.google.android.material.button.MaterialButton |
| | | android:id="@+id/btn_single_6" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_alignLeft="@+id/btn_single_3" |
| | | android:layout_alignBottom="@+id/btn_single_5" |
| | | android:backgroundTint="#2196F3" |
| | | android:text="轴 - 6" |
| | | app:cornerRadius="5dp" /> |
| | | </LinearLayout> |
| | | <LinearLayout |
| | | android:layout_width="0dp" |
| | | android:layout_height="0dp" |
| | | android:layout_rowWeight="1" |
| | | android:layout_columnWeight="1" |
| | | android:orientation="vertical" |
| | | android:gravity="center"> |
| | | <com.google.android.material.button.MaterialButton |
| | | android:id="@+id/btn_axle_6_front" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="40dp" |
| | | android:text="正向" |
| | | android:layout_centerHorizontal="true" |
| | | app:cornerRadius="5dp" |
| | | android:paddingLeft="10dp" |
| | | android:paddingRight="10dp" |
| | | android:minWidth="10dp" |
| | | android:textSize="10sp" |
| | | android:backgroundTint="#2196F3" |
| | | android:layout_marginBottom="10sp" |
| | | android:visibility="gone"/> |
| | | <com.google.android.material.button.MaterialButton |
| | | android:id="@+id/btn_axle_6_back" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="40dp" |
| | | android:text="反向" |
| | | android:layout_centerHorizontal="true" |
| | | app:cornerRadius="5dp" |
| | | android:paddingLeft="10dp" |
| | | android:paddingRight="10dp" |
| | | android:minWidth="10dp" |
| | | android:textSize="10sp" |
| | | android:backgroundTint="#2196F3" |
| | | android:layout_marginBottom="10sp" |
| | | android:visibility="gone"/> |
| | | <Switch |
| | | android:id="@+id/switch6" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="拨指使能1" |
| | | android:textSize="12sp" |
| | | android:layout_alignParentBottom="true" |
| | | android:layout_centerHorizontal="true" |
| | | /> |
| | | |
| | | <com.google.android.material.button.MaterialButton |
| | | android:id="@+id/btn_single_7" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_alignLeft="@+id/btn_single_1" |
| | | android:layout_alignBottom="@+id/btn_single_8" |
| | | android:backgroundTint="#2196F3" |
| | | android:text="轴 - 7" |
| | | app:cornerRadius="5dp" /> |
| | | </LinearLayout> |
| | | <LinearLayout |
| | | android:layout_width="0dp" |
| | | android:layout_height="0dp" |
| | | android:layout_rowWeight="1" |
| | | android:layout_columnWeight="1" |
| | | android:orientation="vertical" |
| | | android:gravity="center"> |
| | | <com.google.android.material.button.MaterialButton |
| | | android:id="@+id/btn_axle_7_front" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="40dp" |
| | | android:text="正向" |
| | | android:layout_centerHorizontal="true" |
| | | app:cornerRadius="5dp" |
| | | android:paddingLeft="10dp" |
| | | android:paddingRight="10dp" |
| | | android:minWidth="10dp" |
| | | android:textSize="10sp" |
| | | android:backgroundTint="#2196F3" |
| | | android:layout_marginBottom="10sp" |
| | | android:visibility="gone"/> |
| | | <com.google.android.material.button.MaterialButton |
| | | android:id="@+id/btn_axle_7_back" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="40dp" |
| | | android:text="反向" |
| | | android:layout_centerHorizontal="true" |
| | | app:cornerRadius="5dp" |
| | | android:paddingLeft="10dp" |
| | | android:paddingRight="10dp" |
| | | android:minWidth="10dp" |
| | | android:textSize="10sp" |
| | | android:backgroundTint="#2196F3" |
| | | android:layout_marginBottom="10sp" |
| | | android:visibility="gone"/> |
| | | <Switch |
| | | android:id="@+id/switch7" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="拨指使能2" |
| | | android:textSize="12sp" |
| | | android:layout_alignParentBottom="true" |
| | | android:layout_centerHorizontal="true" |
| | | /> |
| | | |
| | | <com.google.android.material.button.MaterialButton |
| | | android:id="@+id/btn_single_8" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_alignParentBottom="true" |
| | | android:layout_marginBottom="20sp" |
| | | android:layout_alignLeft="@+id/btn_single_5" |
| | | android:layout_marginTop="10sp" |
| | | android:backgroundTint="#2196F3" |
| | | android:text="轴 - 8" |
| | | app:cornerRadius="5dp" /> |
| | | </LinearLayout> |
| | | <LinearLayout |
| | | android:layout_width="0dp" |
| | | android:layout_height="0dp" |
| | | android:layout_rowWeight="1" |
| | | android:layout_columnWeight="1" |
| | | android:orientation="vertical" |
| | | android:gravity="center"> |
| | | <com.google.android.material.button.MaterialButton |
| | | android:id="@+id/btn_axle_8_front" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="40dp" |
| | | android:text="正向" |
| | | android:layout_centerHorizontal="true" |
| | | app:cornerRadius="5dp" |
| | | android:paddingLeft="10dp" |
| | | android:paddingRight="10dp" |
| | | android:minWidth="10dp" |
| | | android:textSize="10sp" |
| | | android:backgroundTint="#2196F3" |
| | | android:layout_marginBottom="10sp" |
| | | android:visibility="gone"/> |
| | | <com.google.android.material.button.MaterialButton |
| | | android:id="@+id/btn_axle_8_back" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="40dp" |
| | | android:text="反向" |
| | | android:layout_centerHorizontal="true" |
| | | app:cornerRadius="5dp" |
| | | android:paddingLeft="10dp" |
| | | android:paddingRight="10dp" |
| | | android:minWidth="10dp" |
| | | android:textSize="10sp" |
| | | android:backgroundTint="#2196F3" |
| | | android:layout_marginBottom="10sp" |
| | | android:visibility="gone"/> |
| | | <Switch |
| | | android:id="@+id/switch8" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="拨指使能3" |
| | | android:textSize="12sp" |
| | | android:layout_alignParentBottom="true" |
| | | android:layout_centerHorizontal="true" |
| | | /> |
| | | |
| | | <com.google.android.material.button.MaterialButton |
| | | android:id="@+id/btn_single_9" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_alignLeft="@+id/btn_single_3" |
| | | android:layout_alignBottom="@+id/btn_single_8" |
| | | android:backgroundTint="#2196F3" |
| | | android:text="轴 - 9" |
| | | app:cornerRadius="5dp" /> |
| | | </LinearLayout> |
| | | <LinearLayout |
| | | android:layout_width="0dp" |
| | | android:layout_height="0dp" |
| | | android:layout_rowWeight="1" |
| | | android:layout_columnWeight="1" |
| | | android:orientation="vertical" |
| | | android:gravity="center"> |
| | | <com.google.android.material.button.MaterialButton |
| | | android:id="@+id/btn_axle_9_front" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="40dp" |
| | | android:text="正向" |
| | | android:layout_centerHorizontal="true" |
| | | app:cornerRadius="5dp" |
| | | android:paddingLeft="10dp" |
| | | android:paddingRight="10dp" |
| | | android:minWidth="10dp" |
| | | android:textSize="10sp" |
| | | android:backgroundTint="#2196F3" |
| | | android:layout_marginBottom="10sp" |
| | | android:visibility="gone"/> |
| | | <com.google.android.material.button.MaterialButton |
| | | android:id="@+id/btn_axle_9_back" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="40dp" |
| | | android:text="反向" |
| | | android:layout_centerHorizontal="true" |
| | | app:cornerRadius="5dp" |
| | | android:paddingLeft="10dp" |
| | | android:paddingRight="10dp" |
| | | android:minWidth="10dp" |
| | | android:textSize="10sp" |
| | | android:backgroundTint="#2196F3" |
| | | android:layout_marginBottom="10sp" |
| | | android:visibility="gone"/> |
| | | <Switch |
| | | android:id="@+id/switch9" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="拨指使能4" |
| | | android:textSize="12sp" |
| | | android:layout_alignParentBottom="true" |
| | | android:layout_centerHorizontal="true" |
| | | /> |
| | | |
| | | </RelativeLayout> |
| | | </LinearLayout> |
| | | </GridLayout> |
| | | |
| | | |
| | | |
| | | <!-- <com.google.android.material.button.MaterialButton--> |
| | | <!-- android:id="@+id/btn_single_2"--> |
| | | <!-- android:layout_width="wrap_content"--> |
| | | <!-- android:layout_height="wrap_content"--> |
| | | <!-- android:layout_alignLeft="@+id/btn_single_5"--> |
| | | <!-- android:layout_marginTop="10sp"--> |
| | | <!-- android:backgroundTint="#2196F3"--> |
| | | <!-- android:text="轴 - 2"--> |
| | | <!-- app:cornerRadius="5dp" />--> |
| | | |
| | | <!-- <com.google.android.material.button.MaterialButton--> |
| | | <!-- android:id="@+id/btn_single_3"--> |
| | | <!-- android:layout_width="wrap_content"--> |
| | | <!-- android:layout_height="wrap_content"--> |
| | | <!-- android:layout_alignParentRight="true"--> |
| | | <!-- android:layout_marginRight="20sp"--> |
| | | <!-- android:layout_marginTop="10sp"--> |
| | | <!-- android:backgroundTint="#2196F3"--> |
| | | <!-- android:text="轴 - 3"--> |
| | | <!-- app:cornerRadius="5dp" />--> |
| | | |
| | | <!-- <com.google.android.material.button.MaterialButton--> |
| | | <!-- android:id="@+id/btn_single_4"--> |
| | | <!-- android:layout_width="wrap_content"--> |
| | | <!-- android:layout_height="wrap_content"--> |
| | | <!-- android:layout_alignLeft="@+id/btn_single_1"--> |
| | | <!-- android:layout_alignBottom="@+id/btn_single_5"--> |
| | | <!-- android:backgroundTint="#2196F3"--> |
| | | <!-- android:text="轴 - 4"--> |
| | | <!-- app:cornerRadius="5dp" />--> |
| | | |
| | | <!-- <com.google.android.material.button.MaterialButton--> |
| | | <!-- android:id="@+id/btn_single_5"--> |
| | | <!-- android:layout_width="wrap_content"--> |
| | | <!-- android:layout_height="wrap_content"--> |
| | | <!-- android:layout_centerInParent="true"--> |
| | | <!-- android:backgroundTint="#2196F3"--> |
| | | <!-- android:text="轴 - 5"--> |
| | | <!-- app:cornerRadius="5dp" />--> |
| | | |
| | | <!-- <com.google.android.material.button.MaterialButton--> |
| | | <!-- android:id="@+id/btn_single_6"--> |
| | | <!-- android:layout_width="wrap_content"--> |
| | | <!-- android:layout_height="wrap_content"--> |
| | | <!-- android:layout_alignLeft="@+id/btn_single_3"--> |
| | | <!-- android:layout_alignBottom="@+id/btn_single_5"--> |
| | | <!-- android:backgroundTint="#2196F3"--> |
| | | <!-- android:text="轴 - 6"--> |
| | | <!-- app:cornerRadius="5dp" />--> |
| | | |
| | | <!-- <com.google.android.material.button.MaterialButton--> |
| | | <!-- android:id="@+id/btn_single_7"--> |
| | | <!-- android:layout_width="wrap_content"--> |
| | | <!-- android:layout_height="wrap_content"--> |
| | | <!-- android:layout_alignLeft="@+id/btn_single_1"--> |
| | | <!-- android:layout_alignBottom="@+id/btn_single_8"--> |
| | | <!-- android:backgroundTint="#2196F3"--> |
| | | <!-- android:text="轴 - 7"--> |
| | | <!-- app:cornerRadius="5dp" />--> |
| | | |
| | | <!-- <com.google.android.material.button.MaterialButton--> |
| | | <!-- android:id="@+id/btn_single_8"--> |
| | | <!-- android:layout_width="wrap_content"--> |
| | | <!-- android:layout_height="wrap_content"--> |
| | | <!-- android:layout_alignParentBottom="true"--> |
| | | <!-- android:layout_marginBottom="20sp"--> |
| | | <!-- android:layout_alignLeft="@+id/btn_single_5"--> |
| | | <!-- android:layout_marginTop="10sp"--> |
| | | <!-- android:backgroundTint="#2196F3"--> |
| | | <!-- android:text="轴 - 8"--> |
| | | <!-- app:cornerRadius="5dp" />--> |
| | | |
| | | <!-- <com.google.android.material.button.MaterialButton--> |
| | | <!-- android:id="@+id/btn_single_9"--> |
| | | <!-- android:layout_width="wrap_content"--> |
| | | <!-- android:layout_height="wrap_content"--> |
| | | <!-- android:layout_alignLeft="@+id/btn_single_3"--> |
| | | <!-- android:layout_alignBottom="@+id/btn_single_8"--> |
| | | <!-- android:backgroundTint="#2196F3"--> |
| | | <!-- android:text="轴 - 9"--> |
| | | <!-- app:cornerRadius="5dp" />--> |
| | | |
| | | |
| | | <!-- **************** 复位 **************** --> |
| | | <RelativeLayout |
| | |
| | | android:padding="5dp"> |
| | | |
| | | |
| | | <com.example.customBtn.CustomBtn |
| | | android:id="@+id/btn_axle_1_front" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_columnWeight="1" |
| | | style="@style/CustomButtonStyle" |
| | | android:text="前进"/> |
| | | <!-- <com.example.customBtn.CustomBtn--> |
| | | <!-- android:id="@+id/btn_axle_1_front"--> |
| | | <!-- android:layout_width="0dp"--> |
| | | <!-- android:layout_height="wrap_content"--> |
| | | <!-- android:layout_columnWeight="1"--> |
| | | <!-- style="@style/CustomButtonStyle"--> |
| | | <!-- android:text="前进"/>--> |
| | | |
| | | <com.example.customBtn.CustomBtn |
| | | android:id="@+id/btn_axle_1_back" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_columnWeight="1" |
| | | style="@style/CustomButtonStyle" |
| | | android:text="后退"/> |
| | | <!-- <com.example.customBtn.CustomBtn--> |
| | | <!-- android:id="@+id/btn_axle_1_back"--> |
| | | <!-- android:layout_width="0dp"--> |
| | | <!-- android:layout_height="wrap_content"--> |
| | | <!-- android:layout_columnWeight="1"--> |
| | | <!-- style="@style/CustomButtonStyle"--> |
| | | <!-- android:text="后退"/>--> |
| | | |
| | | <com.example.customBtn.CustomBtn |
| | | android:id="@+id/btn_axle_2_front" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_columnWeight="1" |
| | | style="@style/CustomButtonStyle" |
| | | android:text="左旋转"/> |
| | | <!-- <com.example.customBtn.CustomBtn--> |
| | | <!-- android:id="@+id/btn_axle_2_front"--> |
| | | <!-- android:layout_width="0dp"--> |
| | | <!-- android:layout_height="wrap_content"--> |
| | | <!-- android:layout_columnWeight="1"--> |
| | | <!-- style="@style/CustomButtonStyle"--> |
| | | <!-- android:text="左旋转"/>--> |
| | | |
| | | <com.example.customBtn.CustomBtn |
| | | android:id="@+id/btn_axle_2_back" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_columnWeight="1" |
| | | style="@style/CustomButtonStyle" |
| | | android:text="右旋转"/> |
| | | <!-- <com.example.customBtn.CustomBtn--> |
| | | <!-- android:id="@+id/btn_axle_2_back"--> |
| | | <!-- android:layout_width="0dp"--> |
| | | <!-- android:layout_height="wrap_content"--> |
| | | <!-- android:layout_columnWeight="1"--> |
| | | <!-- style="@style/CustomButtonStyle"--> |
| | | <!-- android:text="右旋转"/>--> |
| | | |
| | | <com.example.customBtn.CustomBtn |
| | | android:id="@+id/btn_axle_3_front" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_columnWeight="1" |
| | | style="@style/CustomButtonStyle" |
| | | android:text="左旋转"/> |
| | | <!-- <com.example.customBtn.CustomBtn--> |
| | | <!-- android:id="@+id/btn_axle_3_front"--> |
| | | <!-- android:layout_width="0dp"--> |
| | | <!-- android:layout_height="wrap_content"--> |
| | | <!-- android:layout_columnWeight="1"--> |
| | | <!-- style="@style/CustomButtonStyle"--> |
| | | <!-- android:text="左旋转"/>--> |
| | | |
| | | <com.example.customBtn.CustomBtn |
| | | android:id="@+id/btn_axle_3_back" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_columnWeight="1" |
| | | style="@style/CustomButtonStyle" |
| | | android:text="右旋转"/> |
| | | <!-- <com.example.customBtn.CustomBtn--> |
| | | <!-- android:id="@+id/btn_axle_3_back"--> |
| | | <!-- android:layout_width="0dp"--> |
| | | <!-- android:layout_height="wrap_content"--> |
| | | <!-- android:layout_columnWeight="1"--> |
| | | <!-- style="@style/CustomButtonStyle"--> |
| | | <!-- android:text="右旋转"/>--> |
| | | |
| | | <com.example.customBtn.CustomBtn |
| | | android:id="@+id/btn_axle_4_front" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_columnWeight="1" |
| | | style="@style/CustomButtonStyle" |
| | | android:text="左旋转"/> |
| | | <!-- <com.example.customBtn.CustomBtn--> |
| | | <!-- android:id="@+id/btn_axle_4_front"--> |
| | | <!-- android:layout_width="0dp"--> |
| | | <!-- android:layout_height="wrap_content"--> |
| | | <!-- android:layout_columnWeight="1"--> |
| | | <!-- style="@style/CustomButtonStyle"--> |
| | | <!-- android:text="左旋转"/>--> |
| | | |
| | | <com.example.customBtn.CustomBtn |
| | | android:id="@+id/btn_axle_4_back" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_columnWeight="1" |
| | | style="@style/CustomButtonStyle" |
| | | android:text="右旋转"/> |
| | | <!-- <com.example.customBtn.CustomBtn--> |
| | | <!-- android:id="@+id/btn_axle_4_back"--> |
| | | <!-- android:layout_width="0dp"--> |
| | | <!-- android:layout_height="wrap_content"--> |
| | | <!-- android:layout_columnWeight="1"--> |
| | | <!-- style="@style/CustomButtonStyle"--> |
| | | <!-- android:text="右旋转"/>--> |
| | | |
| | | <com.example.customBtn.CustomBtn |
| | | android:id="@+id/btn_axle_5_front" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_columnWeight="1" |
| | | style="@style/CustomButtonStyle" |
| | | android:text="左旋转"/> |
| | | <!-- <com.example.customBtn.CustomBtn--> |
| | | <!-- android:id="@+id/btn_axle_5_front"--> |
| | | <!-- android:layout_width="0dp"--> |
| | | <!-- android:layout_height="wrap_content"--> |
| | | <!-- android:layout_columnWeight="1"--> |
| | | <!-- style="@style/CustomButtonStyle"--> |
| | | <!-- android:text="左旋转"/>--> |
| | | |
| | | <com.example.customBtn.CustomBtn |
| | | android:id="@+id/btn_axle_5_back" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_columnWeight="1" |
| | | style="@style/CustomButtonStyle" |
| | | android:text="右旋转"/> |
| | | <com.example.customBtn.CustomBtn |
| | | android:id="@+id/btn_axle_6_front" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_columnWeight="1" |
| | | style="@style/CustomButtonStyle" |
| | | android:text="左旋转"/> |
| | | <!-- <com.example.customBtn.CustomBtn--> |
| | | <!-- android:id="@+id/btn_axle_5_back"--> |
| | | <!-- android:layout_width="0dp"--> |
| | | <!-- android:layout_height="wrap_content"--> |
| | | <!-- android:layout_columnWeight="1"--> |
| | | <!-- style="@style/CustomButtonStyle"--> |
| | | <!-- android:text="右旋转"/>--> |
| | | <!-- <com.example.customBtn.CustomBtn--> |
| | | <!-- android:id="@+id/btn_axle_6_front"--> |
| | | <!-- android:layout_width="0dp"--> |
| | | <!-- android:layout_height="wrap_content"--> |
| | | <!-- android:layout_columnWeight="1"--> |
| | | <!-- style="@style/CustomButtonStyle"--> |
| | | <!-- android:text="左旋转"/>--> |
| | | |
| | | <com.example.customBtn.CustomBtn |
| | | android:id="@+id/btn_axle_6_back" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_columnWeight="1" |
| | | style="@style/CustomButtonStyle" |
| | | android:text="右旋转"/> |
| | | <com.example.customBtn.CustomBtn |
| | | android:id="@+id/btn_axle_7_front" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_columnWeight="1" |
| | | style="@style/CustomButtonStyle" |
| | | android:text="左旋转"/> |
| | | <!-- <com.example.customBtn.CustomBtn--> |
| | | <!-- android:id="@+id/btn_axle_6_back"--> |
| | | <!-- android:layout_width="0dp"--> |
| | | <!-- android:layout_height="wrap_content"--> |
| | | <!-- android:layout_columnWeight="1"--> |
| | | <!-- style="@style/CustomButtonStyle"--> |
| | | <!-- android:text="右旋转"/>--> |
| | | <!-- <com.example.customBtn.CustomBtn--> |
| | | <!-- android:id="@+id/btn_axle_7_front"--> |
| | | <!-- android:layout_width="0dp"--> |
| | | <!-- android:layout_height="wrap_content"--> |
| | | <!-- android:layout_columnWeight="1"--> |
| | | <!-- style="@style/CustomButtonStyle"--> |
| | | <!-- android:text="左旋转"/>--> |
| | | |
| | | <com.example.customBtn.CustomBtn |
| | | android:id="@+id/btn_axle_7_back" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_columnWeight="1" |
| | | style="@style/CustomButtonStyle" |
| | | android:text="右旋转"/> |
| | | <com.example.customBtn.CustomBtn |
| | | android:id="@+id/btn_axle_8_front" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_columnWeight="1" |
| | | style="@style/CustomButtonStyle" |
| | | android:text="左旋转"/> |
| | | <!-- <com.example.customBtn.CustomBtn--> |
| | | <!-- android:id="@+id/btn_axle_7_back"--> |
| | | <!-- android:layout_width="0dp"--> |
| | | <!-- android:layout_height="wrap_content"--> |
| | | <!-- android:layout_columnWeight="1"--> |
| | | <!-- style="@style/CustomButtonStyle"--> |
| | | <!-- android:text="右旋转"/>--> |
| | | <!-- <com.example.customBtn.CustomBtn--> |
| | | <!-- android:id="@+id/btn_axle_8_front"--> |
| | | <!-- android:layout_width="0dp"--> |
| | | <!-- android:layout_height="wrap_content"--> |
| | | <!-- android:layout_columnWeight="1"--> |
| | | <!-- style="@style/CustomButtonStyle"--> |
| | | <!-- android:text="左旋转"/>--> |
| | | |
| | | <com.example.customBtn.CustomBtn |
| | | android:id="@+id/btn_axle_8_back" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_columnWeight="1" |
| | | style="@style/CustomButtonStyle" |
| | | android:text="右旋转"/> |
| | | <com.example.customBtn.CustomBtn |
| | | android:id="@+id/btn_axle_9_front" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_columnWeight="1" |
| | | style="@style/CustomButtonStyle" |
| | | android:text="左旋转"/> |
| | | <!-- <com.example.customBtn.CustomBtn--> |
| | | <!-- android:id="@+id/btn_axle_8_back"--> |
| | | <!-- android:layout_width="0dp"--> |
| | | <!-- android:layout_height="wrap_content"--> |
| | | <!-- android:layout_columnWeight="1"--> |
| | | <!-- style="@style/CustomButtonStyle"--> |
| | | <!-- android:text="右旋转"/>--> |
| | | <!-- <com.example.customBtn.CustomBtn--> |
| | | <!-- android:id="@+id/btn_axle_9_front"--> |
| | | <!-- android:layout_width="0dp"--> |
| | | <!-- android:layout_height="wrap_content"--> |
| | | <!-- android:layout_columnWeight="1"--> |
| | | <!-- style="@style/CustomButtonStyle"--> |
| | | <!-- android:text="左旋转"/>--> |
| | | |
| | | <com.example.customBtn.CustomBtn |
| | | android:id="@+id/btn_axle_9_back" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_columnWeight="1" |
| | | style="@style/CustomButtonStyle" |
| | | android:text="右旋转"/> |
| | | <!-- <com.example.customBtn.CustomBtn--> |
| | | <!-- android:id="@+id/btn_axle_9_back"--> |
| | | <!-- android:layout_width="0dp"--> |
| | | <!-- android:layout_height="wrap_content"--> |
| | | <!-- android:layout_columnWeight="1"--> |
| | | <!-- style="@style/CustomButtonStyle"--> |
| | | <!-- android:text="右旋转"/>--> |
| | | |
| | | </GridLayout> |
| | | |