From 17bb52d9337328323f5f8d2a806cf4f445673b4a Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期四, 06 二月 2025 09:20:55 +0800 Subject: [PATCH] # --- app/src/main/res/layout/activity_main.xml | 28 ++++++++++++++++++++-------- 1 files changed, 20 insertions(+), 8 deletions(-) diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index ddf4c71..ba8cf23 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -124,7 +124,7 @@ android:text="AGV鏁呴殰锛氬鑸晠闅� > 寰呮満鐘舵�佷笅涓㈢爜" android:textColor="#FFFFFF" /> </LinearLayout> - <LinearLayout + <RelativeLayout android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1" @@ -133,16 +133,28 @@ android:radius="10dp" > <TextView + android:id="@+id/recent_log_text_view" android:layout_width="match_parent" android:layout_height="match_parent" - android:text="涓婅锛�1232132121" /> - <TextView - android:layout_width="match_parent" - android:layout_height="match_parent" - android:text="涓嬭锛�1232132121" - /> - </LinearLayout> + <com.google.android.material.button.MaterialButton + android:id="@+id/view_all_logs_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentBottom="true" + android:layout_alignParentEnd="true" + android:layout_margin="16dp" + android:layout_marginLeft="20sp" + android:layout_centerVertical="true" + android:layout_alignParentLeft="true" + android:layout_marginRight="20sp" + android:backgroundTint="#2196F3" + android:minWidth="10dp" + android:paddingLeft="10dp" + android:paddingRight="10dp" + android:text="鍏ㄩ儴淇℃伅" + app:cornerRadius="5dp" /> + </RelativeLayout> </LinearLayout> <!-- **************** 搴曠洏 **************** --> -- Gitblit v1.9.1