From 1690ddce15cc489a76726eccee740d5beaef79e9 Mon Sep 17 00:00:00 2001
From: zuoxiao <470321431@qq.com>
Date: 星期二, 10 六月 2025 17:45:15 +0800
Subject: [PATCH] refactor(generallibrary):优化 NFC 写卡流程
---
generallibrary/src/main/res/layout/fragment_card.xml | 50 +++++++-------------------------------------------
1 files changed, 7 insertions(+), 43 deletions(-)
diff --git a/generallibrary/src/main/res/layout/fragment_card.xml b/generallibrary/src/main/res/layout/fragment_card.xml
index b0cff9a..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/chongzheng" />
+ 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>
@@ -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/fanxie" />
-
- <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