| | |
| | | android:layout_height="100sp" |
| | | android:layout_margin="30sp" |
| | | android:text="STOP" |
| | | android:textSize="20sp" |
| | | android:textSize="18sp" |
| | | android:layout_centerInParent="true" |
| | | android:backgroundTint="#F62727" /> |
| | | |
| | |
| | | android:minWidth="10dp" |
| | | android:backgroundTint="#2196F3" /> |
| | | |
| | | <com.google.android.material.button.MaterialButton |
| | | android:id="@+id/btn_up" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="上升" |
| | | android:layout_marginRight="20sp" |
| | | android:layout_centerVertical="true" |
| | | android:layout_alignParentRight="true" |
| | | app:cornerRadius="5dp" |
| | | android:paddingLeft="10dp" |
| | | android:paddingRight="10dp" |
| | | android:minWidth="10dp" |
| | | android:layout_alignLeft="@+id/btn_rotatopn_left" |
| | | android:layout_alignBottom="@+id/btn_go_backward" |
| | | android:backgroundTint="#2196F3" /> |
| | | <!-- <com.google.android.material.button.MaterialButton--> |
| | | <!-- android:id="@+id/btn_up"--> |
| | | <!-- android:layout_width="wrap_content"--> |
| | | <!-- android:layout_height="wrap_content"--> |
| | | <!-- android:text="上升"--> |
| | | <!-- android:layout_marginRight="20sp"--> |
| | | <!-- android:layout_centerVertical="true"--> |
| | | <!-- android:layout_alignParentRight="true"--> |
| | | <!-- app:cornerRadius="5dp"--> |
| | | <!-- android:paddingLeft="10dp"--> |
| | | <!-- android:paddingRight="10dp"--> |
| | | <!-- android:minWidth="10dp"--> |
| | | <!-- android:layout_alignLeft="@+id/btn_rotatopn_left"--> |
| | | <!-- android:layout_alignBottom="@+id/btn_go_backward"--> |
| | | <!-- android:backgroundTint="#2196F3" />--> |
| | | |
| | | <com.google.android.material.button.MaterialButton |
| | | android:id="@+id/btn_rotatopn_left" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="左旋转" |
| | | android:layout_marginRight="20sp" |
| | | android:layout_marginLeft="20sp" |
| | | android:layout_centerVertical="true" |
| | | android:layout_alignParentRight="true" |
| | | android:layout_alignParentLeft="true" |
| | | app:cornerRadius="5dp" |
| | | android:paddingLeft="10dp" |
| | | android:paddingRight="10dp" |
| | |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="右旋转" |
| | | android:layout_marginLeft="20sp" |
| | | android:layout_marginRight="20sp" |
| | | android:layout_centerVertical="true" |
| | | android:layout_alignParentLeft="true" |
| | | android:layout_alignParentRight="true" |
| | | app:cornerRadius="5dp" |
| | | android:paddingLeft="10dp" |
| | | android:paddingRight="10dp" |
| | | android:minWidth="10dp" |
| | | android:backgroundTint="#2196F3" /> |
| | | |
| | | <com.google.android.material.button.MaterialButton |
| | | android:id="@+id/btn_extend_fork" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="伸叉" |
| | | android:layout_marginLeft="20sp" |
| | | android:layout_centerVertical="true" |
| | | android:layout_alignParentLeft="true" |
| | | app:cornerRadius="5dp" |
| | | android:paddingLeft="10dp" |
| | | android:paddingRight="10dp" |
| | | android:minWidth="10dp" |
| | | android:layout_alignLeft="@+id/btn_rotatopn_left" |
| | | android:layout_alignBottom="@+id/btn_go_forward" |
| | | android:backgroundTint="#2196F3" /> |
| | | <!-- <com.google.android.material.button.MaterialButton--> |
| | | <!-- android:id="@+id/btn_extend_fork"--> |
| | | <!-- android:layout_width="wrap_content"--> |
| | | <!-- android:layout_height="wrap_content"--> |
| | | <!-- android:text="伸叉"--> |
| | | <!-- android:layout_marginLeft="20sp"--> |
| | | <!-- android:layout_centerVertical="true"--> |
| | | <!-- android:layout_alignParentLeft="true"--> |
| | | <!-- app:cornerRadius="5dp"--> |
| | | <!-- android:paddingLeft="10dp"--> |
| | | <!-- android:paddingRight="10dp"--> |
| | | <!-- android:minWidth="10dp"--> |
| | | <!-- android:layout_alignLeft="@+id/btn_rotatopn_left"--> |
| | | <!-- android:layout_alignBottom="@+id/btn_go_forward"--> |
| | | <!-- android:backgroundTint="#2196F3" />--> |
| | | |
| | | <com.google.android.material.button.MaterialButton |
| | | android:id="@+id/btn_collect_fork" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="收叉" |
| | | android:layout_marginLeft="20sp" |
| | | android:layout_centerVertical="true" |
| | | android:layout_alignParentLeft="true" |
| | | app:cornerRadius="5dp" |
| | | android:paddingLeft="10dp" |
| | | android:paddingRight="10dp" |
| | | android:minWidth="10dp" |
| | | android:layout_alignLeft="@+id/btn_rotatopn_left" |
| | | android:layout_alignBottom="@+id/btn_go_backward" |
| | | android:backgroundTint="#2196F3" /> |
| | | <!-- <com.google.android.material.button.MaterialButton--> |
| | | <!-- android:id="@+id/btn_collect_fork"--> |
| | | <!-- android:layout_width="wrap_content"--> |
| | | <!-- android:layout_height="wrap_content"--> |
| | | <!-- android:text="收叉"--> |
| | | <!-- android:layout_marginLeft="20sp"--> |
| | | <!-- android:layout_centerVertical="true"--> |
| | | <!-- android:layout_alignParentLeft="true"--> |
| | | <!-- app:cornerRadius="5dp"--> |
| | | <!-- android:paddingLeft="10dp"--> |
| | | <!-- android:paddingRight="10dp"--> |
| | | <!-- android:minWidth="10dp"--> |
| | | <!-- android:layout_alignLeft="@+id/btn_rotatopn_right"--> |
| | | <!-- android:layout_alignBottom="@+id/btn_go_backward"--> |
| | | <!-- android:backgroundTint="#2196F3" />--> |
| | | |
| | | </RelativeLayout> |
| | | <!-- <LinearLayout--> |
| | |
| | | android:backgroundTint="#2196F3" /> |
| | | </LinearLayout> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="0dp" |
| | | android:layout_height="match_parent" |
| | | android:layout_weight="1" |
| | | android:gravity="center"> |
| | | <com.google.android.material.button.MaterialButton |
| | | android:id="@+id/btn_force_switch" |
| | | 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" /> |
| | | </LinearLayout> |
| | | |
| | | |
| | | <LinearLayout |
| | | android:layout_width="0dp" |
| | |
| | | android:layout_weight="1" |
| | | android:gravity="center"> |
| | | <com.google.android.material.button.MaterialButton |
| | | android:id="@+id/btn_function_switch" |
| | | android:id="@+id/btn_body_switch" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="40dp" |
| | | android:text="功能切换" |
| | | android:text="底盘" |
| | | android:layout_centerHorizontal="true" |
| | | app:cornerRadius="5dp" |
| | | android:paddingLeft="10dp" |
| | |
| | | android:backgroundTint="#2196F3" /> |
| | | </LinearLayout> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="0dp" |
| | | android:layout_height="match_parent" |
| | | android:layout_weight="1" |
| | | android:gravity="center"> |
| | | <com.google.android.material.button.MaterialButton |
| | | android:id="@+id/btn_reset" |
| | | 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" /> |
| | | </LinearLayout> |
| | | |
| | | <!-- <LinearLayout--> |
| | | <!-- android:layout_width="0dp"--> |
| | | <!-- android:layout_height="match_parent"--> |
| | | <!-- android:layout_weight="1"--> |
| | | <!-- android:gravity="center">--> |
| | | <!-- <com.google.android.material.button.MaterialButton--> |
| | | <!-- 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" />--> |
| | | <!-- </LinearLayout>--> |
| | | |
| | | |
| | | <!-- <LinearLayout--> |
| | | <!-- android:layout_width="0dp"--> |
| | | <!-- android:layout_height="match_parent"--> |
| | | <!-- android:layout_weight="1"--> |
| | | <!-- android:gravity="center">--> |
| | | <!-- <com.google.android.material.button.MaterialButton--> |
| | | <!-- android:id="@+id/btn_force_switch"--> |
| | | <!-- 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" />--> |
| | | <!-- </LinearLayout>--> |
| | | |
| | | </LinearLayout> |
| | | |
| | | |