From 24a59bc611c38ec3c01987cd5bb33984aa9731b2 Mon Sep 17 00:00:00 2001 From: mac <user@users-MacBook-Pro.local> Date: 星期一, 24 六月 2024 16:48:51 +0800 Subject: [PATCH] 2024年06月24日16:48:45 --- app/src/main/res/layout/fragment_message.xml | 20 +++++++++----------- 1 files changed, 9 insertions(+), 11 deletions(-) diff --git a/app/src/main/res/layout/fragment_message.xml b/app/src/main/res/layout/fragment_message.xml index 6c955ca..2d85498 100644 --- a/app/src/main/res/layout/fragment_message.xml +++ b/app/src/main/res/layout/fragment_message.xml @@ -3,8 +3,8 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/message_parent" android:layout_width="match_parent" - android:background="@drawable/bj" - android:layout_height="match_parent"> + android:layout_height="match_parent" + android:background="@drawable/bj"> <!--澶撮儴鏍囩--> <RelativeLayout android:id="@+id/message_rl" @@ -35,7 +35,7 @@ android:layout_centerVertical="true" android:layout_marginStart="@dimen/dp_21" android:layout_marginEnd="@dimen/dp_4" - android:layout_toStartOf="@+id/all_clear_tv" + android:layout_toStartOf="@+id/all_clear_iv" android:layout_toEndOf="@+id/message_tab_nascent_title_tv" android:gravity="start|center_vertical" android:text="@string/alarm_record" @@ -44,15 +44,13 @@ /> - <TextView - android:id="@+id/all_clear_tv" - android:layout_width="wrap_content" - android:layout_height="@dimen/dp_31" + <ImageView + android:id="@+id/all_clear_iv" + android:layout_width="@dimen/dp_28" + android:layout_height="@dimen/dp_28" android:layout_alignParentEnd="true" - android:gravity="center" - android:text="@string/all_read" - android:textColor="@color/text_38C494" - android:textSize="@dimen/dp_16" + android:layout_marginTop="@dimen/dp_4" + android:src="@drawable/clearall" /> -- Gitblit v1.8.0