From cb99bd7dad1b305a434c5c6c99ca65e782eb0f34 Mon Sep 17 00:00:00 2001 From: cloudroam <cloudroam> Date: 星期五, 11 四月 2025 17:32:12 +0800 Subject: [PATCH] add: 消息提醒 --- app/src/main/res/layout/item_express_group.xml | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/app/src/main/res/layout/item_express_group.xml b/app/src/main/res/layout/item_express_group.xml index 4a13e84..cd76b31 100644 --- a/app/src/main/res/layout/item_express_group.xml +++ b/app/src/main/res/layout/item_express_group.xml @@ -1,12 +1,17 @@ <?xml version="1.0" encoding="utf-8"?> -<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" +<!-- strokeColor黑色边框颜色 --> <!--strokeWidth 边框宽度 --> +<com.google.android.material.card.MaterialCardView + xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginHorizontal="12dp" android:layout_marginVertical="6dp" app:cardCornerRadius="8dp" - app:cardElevation="2dp"> + app:cardElevation="2dp" + app:cardBackgroundColor="@android:color/white" + app:strokeColor="#FF000000" + app:strokeWidth="2dp"> <LinearLayout android:layout_width="match_parent" @@ -51,4 +56,4 @@ android:layout_width="match_parent" android:layout_height="wrap_content"/> </LinearLayout> -</androidx.cardview.widget.CardView> \ No newline at end of file +</com.google.android.material.card.MaterialCardView> \ No newline at end of file -- Gitblit v1.9.3