From f67cf3b81a00f732ca743431258ae6b78f5f40ab Mon Sep 17 00:00:00 2001 From: tj <1378534974@qq.com> Date: 星期四, 17 四月 2025 15:05:28 +0800 Subject: [PATCH] 11、我的 切换头像 点击切换头像没有显示允许存储权限的窗口,华为的手机目前有 49、首页 实时刷新 点击全部取件或其他分类后,回到上一层,内容没有刷新(5个分类) 52、数据统计 数据统计 1.周月年的柱状图统计逻辑需要修改为只统计快递类的数据 2.按年的图形统计,右下方加上图示说明 53、首页 首页登录 点击用户协议、隐私政策无反应 --- app/src/main/res/layout/activity_invitation_main.xml | 50 ++++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 46 insertions(+), 4 deletions(-) diff --git a/app/src/main/res/layout/activity_invitation_main.xml b/app/src/main/res/layout/activity_invitation_main.xml index e92d712..88a6273 100644 --- a/app/src/main/res/layout/activity_invitation_main.xml +++ b/app/src/main/res/layout/activity_invitation_main.xml @@ -63,7 +63,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginBottom="20dp" - app:cardCornerRadius="8dp"> + app:cardCornerRadius="18dp"> <androidx.recyclerview.widget.RecyclerView android:id="@+id/invitationsuccessRecyclerView" @@ -75,9 +75,10 @@ <!-- 邀请按钮区域 --> <Button + android:id="@+id/btnInvite" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginBottom="26dp" + android:layout_marginBottom="10dp" android:backgroundTint="#FF0000" android:insetTop="0dp" android:insetBottom="0dp" @@ -86,6 +87,47 @@ android:textColor="#FFFFFF" android:textSize="16sp" app:cornerRadius="10dp" /> + + <!-- 邀请码区域 --> + <androidx.cardview.widget.CardView + android:layout_width="match_parent" + android:layout_height="50dp" + android:layout_marginBottom="8dp" + app:cardCornerRadius="8dp" + app:cardPreventCornerOverlap="true" + app:cardElevation="0dp" + app:cardBackgroundColor="#FFFFFF"> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="horizontal" + android:paddingStart="16dp" + android:paddingEnd="16dp" + android:gravity="center_vertical"> + + <TextView + android:id="@+id/invitationCodeText" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:text="A1B2" + android:textAlignment="center" + android:textColor="#000000" + android:textSize="30sp" /> + + <Button + android:id="@+id/copyButton" + android:layout_width="wrap_content" + android:layout_height="40dp" + android:text="复制邀请码" + android:textColor="#FF0000" + android:backgroundTint="#FFFFFF" + android:textSize="12sp" + android:paddingStart="12dp" + android:paddingEnd="12dp"/> + </LinearLayout> + </androidx.cardview.widget.CardView> <!-- 邀请任务表格区域 --> <androidx.cardview.widget.CardView @@ -178,7 +220,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:padding="6dp" - android:text="免广告特权 (7天)" + android:text="15天会员" android:textAlignment="center" android:textColor="#333333" android:textSize="12sp" /> @@ -208,7 +250,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:padding="6dp" - android:text="7天会员" + android:text="30天会员" android:textAlignment="center" android:textColor="#333333" android:textSize="12sp" /> -- Gitblit v1.9.3