From 2e1edcb7518f20dec30dbd6e1686e9e6b558ec15 Mon Sep 17 00:00:00 2001 From: tj <1378534974@qq.com> Date: 星期三, 16 四月 2025 17:05:12 +0800 Subject: [PATCH] 43 首页登录->首页登录 1.首页弹窗协议同意后,不能默认自动勾选,还需要用户手动勾选 2.退出登录后,再次登录需要手动勾选与用户协议(目前是默认勾选了) 44 首页登录->邀请码 邀请码默认填入“邀请码(选填) 47 数据统计->饼状图数据分类统计问题 1、只统计快递 无需统计还款其他分类 2、图形上下间隔过大" 48 数据统计 天、周、月、年 1.数据统计只统计快递类的,其他分类不需要统计展示,例如取件码记录 2.包括周、月、年的统计环状图,只需要统计快递分类的 --- app/src/main/res/layout/item_reminder.xml | 64 ++++++++++++++++++------------- 1 files changed, 37 insertions(+), 27 deletions(-) diff --git a/app/src/main/res/layout/item_reminder.xml b/app/src/main/res/layout/item_reminder.xml index 98b1aa9..8b2df1d 100644 --- a/app/src/main/res/layout/item_reminder.xml +++ b/app/src/main/res/layout/item_reminder.xml @@ -1,39 +1,49 @@ <?xml version="1.0" encoding="utf-8"?> -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" +<androidx.cardview.widget.CardView 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:padding="12dp" - android:background="@android:color/white"> + android:layout_marginHorizontal="8dp" + android:layout_marginVertical="4dp" + app:cardCornerRadius="8dp" + app:cardElevation="2dp"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_toStartOf="@id/btn_delete" - android:orientation="vertical"> + android:orientation="horizontal" + android:padding="16dp"> - <TextView - android:id="@+id/text_nickname" - android:layout_width="wrap_content" + <LinearLayout + android:layout_width="0dp" android:layout_height="wrap_content" - android:textSize="16sp" - android:textColor="#000000" /> + android:layout_weight="1" + android:orientation="vertical"> - <TextView - android:id="@+id/text_keywords" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="4dp" - android:textSize="14sp" - android:textColor="#666666" /> + <TextView + android:id="@+id/categoryNameText" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textSize="16sp" + android:textStyle="bold" /> + + <TextView + android:id="@+id/notificationMethodText" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="4dp" + android:textColor="@android:color/darker_gray" + android:textSize="14sp" /> + + </LinearLayout> + + <ImageView + android:layout_width="24dp" + android:layout_height="24dp" + android:layout_gravity="center_vertical" + android:src="@drawable/ic_delete" + android:tint="@android:color/darker_gray" /> + </LinearLayout> - <ImageButton - android:id="@+id/btn_delete" - android:layout_width="24dp" - android:layout_height="24dp" - android:layout_alignParentEnd="true" - android:layout_centerVertical="true" - android:background="@null" - android:src="@android:drawable/ic_delete" /> - -</RelativeLayout> \ No newline at end of file +</androidx.cardview.widget.CardView> \ No newline at end of file -- Gitblit v1.9.3