From dd0f9e5f533d868d68c5fc343a44356b537b3988 Mon Sep 17 00:00:00 2001
From: zuojincheng <lf_zuo@163.com>
Date: 星期五, 06 六月 2025 15:36:45 +0800
Subject: [PATCH] feat(nfc): 新增用户卡写入功能并优化开卡流程
---
generallibrary/src/main/res/layout/fragment_card.xml | 52 ++++++++--------------------------------------------
1 files changed, 8 insertions(+), 44 deletions(-)
diff --git a/generallibrary/src/main/res/layout/fragment_card.xml b/generallibrary/src/main/res/layout/fragment_card.xml
index fbc41d1..9323298 100644
--- a/generallibrary/src/main/res/layout/fragment_card.xml
+++ b/generallibrary/src/main/res/layout/fragment_card.xml
@@ -173,7 +173,7 @@
<ImageView
android:layout_width="55dp"
android:layout_height="55dp"
- android:src="@drawable/home_report" />
+ android:src="@drawable/guashi" />
<TextView
android:layout_width="wrap_content"
@@ -215,6 +215,7 @@
app:layout_constraintTop_toBottomOf="@+id/home_redCard">
<LinearLayout
+ android:id="@+id/home_replaceLL"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
@@ -231,7 +232,7 @@
android:layout_height="wrap_content"
android:layout_marginTop="6dp"
android:gravity="center"
- android:text="琛ュ崱"
+ android:text="瑙f寕銆佽ˉ鍗�"
android:textColor="@color/text_selecter_color"
android:textSize="14sp" />
</LinearLayout>
@@ -263,14 +264,14 @@
<ImageView
android:layout_width="55dp"
android:layout_height="55dp"
- android:src="@drawable/home_system" />
+ android:src="@drawable/xiaoka" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="6dp"
android:gravity="center"
- android:text="鍐叉"
+ android:text="閿�鍗�"
android:textColor="@color/text_selecter_color"
android:textSize="14sp" />
</LinearLayout>
@@ -302,7 +303,7 @@
<ImageView
android:layout_width="55dp"
android:layout_height="55dp"
- android:src="@drawable/home_system" />
+ android:src="@drawable/bukou" />
<TextView
android:layout_width="wrap_content"
@@ -315,48 +316,11 @@
</LinearLayout>
</androidx.cardview.widget.CardView>
- <androidx.cardview.widget.CardView
- android:id="@+id/home_rewrite"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginStart="6dp"
- android:layout_marginTop="16dp"
- android:layout_marginEnd="6dp"
- android:clickable="true"
- android:focusable="true"
- android:foreground="?android:attr/selectableItemBackground"
- app:cardCornerRadius="10dp"
- app:cardElevation="3dp"
- app:layout_constraintEnd_toStartOf="@+id/home_manage"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/home_reverse">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:orientation="vertical"
- android:padding="12dp">
-
- <ImageView
- android:layout_width="55dp"
- android:layout_height="55dp"
- android:src="@drawable/home_system" />
-
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="6dp"
- android:gravity="center"
- android:text="鍙嶅啓"
- android:textColor="@color/text_selecter_color"
- android:textSize="14sp" />
- </LinearLayout>
- </androidx.cardview.widget.CardView>
<androidx.cardview.widget.CardView
android:id="@+id/home_manage"
- android:layout_width="0dp"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="6dp"
android:layout_marginTop="16dp"
@@ -369,7 +333,7 @@
app:cardElevation="3dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toEndOf="@+id/home_rewrite"
+
app:layout_constraintTop_toBottomOf="@+id/home_deduction"
app:layout_constraintVertical_bias="0.0">
--
Gitblit v1.8.0