From e7ebc96482393d6b5b7ea4583f0bdb358e4afeeb Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期二, 20 八月 2024 18:35:26 +0800 Subject: [PATCH] # --- app/src/main/res/layout/activity_main.xml | 158 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 156 insertions(+), 2 deletions(-) diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 35a1f3b..3adc450 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -94,7 +94,7 @@ android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="6" - android:visibility="visible"> + android:visibility="gone"> <Button android:id="@+id/btn_stop2" @@ -112,7 +112,7 @@ android:layout_height="wrap_content" android:layout_centerHorizontal="true" android:layout_marginTop="10sp" - android:backgroundTint="#2196F3" + android:backgroundTint="@color/bulue.500" android:minWidth="10dp" android:paddingLeft="10dp" android:paddingRight="10dp" @@ -468,6 +468,160 @@ </RelativeLayout> + <!-- **************** 18杞� **************** --> + <GridLayout + android:id="@+id/layout_18" + android:visibility="visible" + android:layout_width="match_parent" + android:layout_height="0dp" + android:layout_weight="6" + android:columnCount="4" + android:rowCount="2" + 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_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_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_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_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_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_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_9_back" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_columnWeight="1" + style="@style/CustomButtonStyle" + android:text="鍙虫棆杞�"/> + + </GridLayout> + <!-- **************** 搴曢儴 **************** --> <LinearLayout android:background="#334455" -- Gitblit v1.9.1