From ebc06a3ae3a42bd6ac1359a59c55d5e6f1a0e2f0 Mon Sep 17 00:00:00 2001
From: zuoxiao <470321431@qq.com>
Date: 星期二, 26 三月 2024 16:18:08 +0800
Subject: [PATCH] 优化通讯 写卡界面添加二次确认 优化用户写卡逻辑,提高写卡速度。

---
 app/src/main/res/layout/activity_home.xml |   37 ++++++++++++++++++++++++++++---------
 1 files changed, 28 insertions(+), 9 deletions(-)

diff --git a/app/src/main/res/layout/activity_home.xml b/app/src/main/res/layout/activity_home.xml
index 4eeafd8..2200b50 100644
--- a/app/src/main/res/layout/activity_home.xml
+++ b/app/src/main/res/layout/activity_home.xml
@@ -14,42 +14,45 @@
 
     <LinearLayout
         android:layout_width="match_parent"
-        android:layout_height="wrap_content"
+        android:layout_height="50dp"
         android:layout_gravity="center"
-        android:layout_marginTop="50dp"
+        android:layout_marginTop="30dp"
         android:orientation="horizontal">
 
         <TextView
             android:id="@+id/home_newCard"
             android:layout_width="0dp"
-            android:layout_height="wrap_content"
+            android:layout_height="match_parent"
             android:layout_weight="1"
             android:gravity="center"
             android:text="鏂板崱寮�鎴�"
+            android:textColor="@color/text_selecter"
             android:textSize="@dimen/home_text_size" />
 
         <TextView
             android:id="@+id/home_recharge"
             android:layout_width="0dp"
-            android:layout_height="wrap_content"
+            android:layout_height="match_parent"
             android:layout_weight="1"
             android:gravity="center"
             android:text="鍏呭��"
+            android:textColor="@color/text_selecter"
             android:textSize="@dimen/home_text_size" />
 
         <TextView
             android:id="@+id/home_redCard"
             android:layout_width="0dp"
-            android:layout_height="wrap_content"
+            android:layout_height="match_parent"
             android:layout_weight="1"
             android:gravity="center"
             android:text="璇诲彇鍗$墖"
+            android:textColor="@color/text_selecter"
             android:textSize="@dimen/home_text_size" />
     </LinearLayout>
 
     <LinearLayout
         android:layout_width="match_parent"
-        android:layout_height="wrap_content"
+        android:layout_height="50dp"
         android:layout_gravity="center"
         android:layout_marginTop="30dp"
         android:orientation="horizontal">
@@ -57,29 +60,45 @@
         <TextView
             android:id="@+id/home_admin"
             android:layout_width="0dp"
-            android:layout_height="wrap_content"
+            android:layout_height="match_parent"
             android:layout_weight="1"
             android:gravity="center"
             android:text="绠$悊绯荤粺"
+            android:textColor="@color/text_selecter"
             android:textSize="@dimen/home_text_size" />
 
         <TextView
             android:id="@+id/home_parameter"
             android:layout_width="0dp"
-            android:layout_height="wrap_content"
+            android:layout_height="match_parent"
             android:layout_weight="1"
             android:gravity="center"
             android:text="鍙傛暟璁剧疆"
+            android:textColor="@color/text_selecter"
             android:textSize="@dimen/home_text_size" />
 
         <TextView
             android:id="@+id/home_my"
             android:layout_width="0dp"
-            android:layout_height="wrap_content"
+            android:layout_height="match_parent"
             android:layout_weight="1"
             android:gravity="center"
             android:text="涓汉涓績"
+            android:textColor="@color/text_selecter"
             android:textSize="@dimen/home_text_size" />
     </LinearLayout>
 
+    <LinearLayout
+        android:layout_width="match_parent"
+        android:layout_height="match_parent"
+        android:gravity="bottom|center_horizontal">
+
+        <TextView
+            android:id="@+id/socketState"
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            android:layout_marginBottom="20dp"
+            android:text="宸茶繛鎺ユ暟鎹腑蹇�" />
+    </LinearLayout>
+
 </LinearLayout>
\ No newline at end of file

--
Gitblit v1.8.0