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/fragment_member_info_card.xml | 28 +++++++++++++++++++++++----- 1 files changed, 23 insertions(+), 5 deletions(-) diff --git a/app/src/main/res/layout/fragment_member_info_card.xml b/app/src/main/res/layout/fragment_member_info_card.xml index 5f2d2a6..96585ae 100644 --- a/app/src/main/res/layout/fragment_member_info_card.xml +++ b/app/src/main/res/layout/fragment_member_info_card.xml @@ -15,12 +15,15 @@ <!-- CardView 内部的内容 --> <androidx.cardview.widget.CardView + android:id="@+id/memberCardCardView" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="15dp" android:layout_marginTop="10dp" android:layout_marginRight="15dp" - android:elevation="2dp" + android:elevation="0dp" + android:clipChildren="false" + android:clipToOutline="true" app:cardCornerRadius="10dp"> <!-- 设置CardView的elevation --> @@ -29,17 +32,30 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="10dp" - tools:ignore="MissingConstraints"> + tools:ignore="MissingConstraints" + android:background="@android:color/transparent" + > - <ImageView +<!-- <ImageView--> +<!-- android:id="@+id/memberAvatarView"--> +<!-- android:layout_width="25dp"--> +<!-- android:layout_height="27dp"--> +<!-- android:layout_marginLeft="10dp"--> +<!-- android:scaleType="centerCrop"--> +<!-- app:layout_constraintStart_toStartOf="parent"--> +<!-- app:layout_constraintTop_toTopOf="parent"--> + +<!-- />--> + <com.google.android.material.imageview.ShapeableImageView android:id="@+id/memberAvatarView" android:layout_width="40dp" android:layout_height="40dp" android:layout_marginLeft="10dp" - android:layout_marginRight="10dp" android:scaleType="centerCrop" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent" /> + app:layout_constraintTop_toTopOf="parent" + app:shapeAppearanceOverlay="@style/CircleImageView" /> + <TextView android:id="@+id/phoneNumberText" @@ -47,6 +63,7 @@ android:layout_height="40dp" android:gravity="center" android:text="@{viewModel.phoneNumber}" + android:textColor="#F2F2F2" app:layout_constraintStart_toEndOf="@id/memberAvatarView" app:layout_constraintTop_toTopOf="parent" /> @@ -67,6 +84,7 @@ android:text="@{viewModel.memberStatus}" android:layout_marginLeft="8dp" android:padding="2dp" + android:textColor="#AAAAAA" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/memberAvatarView" /> -- Gitblit v1.9.3