From 12fb3fb97f135bbd78b31a06f8451f9b42a2ed6f Mon Sep 17 00:00:00 2001
From: zuoxiao <470321431@qq.com>
Date: 星期一, 26 八月 2024 14:23:24 +0800
Subject: [PATCH] 无网络添加提示
---
qiheonlinelibrary/src/main/res/layout/activity_home_qhl.xml | 187 ++++++++++++++++++++++++++++++++++++----------
1 files changed, 144 insertions(+), 43 deletions(-)
diff --git a/qiheonlinelibrary/src/main/res/layout/activity_home_qhl.xml b/qiheonlinelibrary/src/main/res/layout/activity_home_qhl.xml
index 9151b59..16b9129 100644
--- a/qiheonlinelibrary/src/main/res/layout/activity_home_qhl.xml
+++ b/qiheonlinelibrary/src/main/res/layout/activity_home_qhl.xml
@@ -14,56 +14,112 @@
<LinearLayout
android:layout_width="match_parent"
- android:layout_height="50dp"
+ android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginTop="30dp"
android:orientation="horizontal">
- <TextView
+ <LinearLayout
android:id="@+id/home_newCard"
android:layout_width="0dp"
- android:layout_height="match_parent"
+ android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
- android:text="鏂板崱寮�鎴�"
- android:textColor="@color/text_selecter_color"
- android:textSize="@dimen/home_text_size" />
+ android:orientation="vertical">
- <TextView
+ <ImageView
+ android:layout_width="70dp"
+ android:layout_height="70dp"
+ android:src="@drawable/home_add" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:gravity="center"
+ android:text="鏂板崱寮�鎴�"
+ android:textColor="@color/text_selecter_color"
+ android:textSize="@dimen/home_text_size" />
+
+ </LinearLayout>
+
+ <LinearLayout
android:id="@+id/home_recharge"
android:layout_width="0dp"
- android:layout_height="match_parent"
+ android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
- android:text="鍏呭��"
- android:textColor="@color/text_selecter_color"
- android:textSize="@dimen/home_text_size" />
+ android:orientation="vertical">
- <TextView
+ <ImageView
+ android:layout_width="70dp"
+ android:layout_height="70dp"
+ android:src="@drawable/home_recharge" />
+
+ <TextView
+
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:gravity="center"
+ android:text="鍏呭��"
+ android:textColor="@color/text_selecter_color"
+ android:textSize="@dimen/home_text_size" />
+ </LinearLayout>
+
+ <LinearLayout
android:id="@+id/home_redCard"
android:layout_width="0dp"
- android:layout_height="match_parent"
+ android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
- android:text="璇诲彇鍗$墖"
- android:textColor="@color/text_selecter_color"
- android:textSize="@dimen/home_text_size" />
+ android:orientation="vertical">
+
+ <ImageView
+ android:layout_width="70dp"
+ android:layout_height="70dp"
+ android:src="@drawable/home_read" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:gravity="center"
+ android:text="璇诲彇鍗$墖"
+ android:textColor="@color/text_selecter_color"
+ android:textSize="@dimen/home_text_size" />
+ </LinearLayout>
</LinearLayout>
+
<LinearLayout
android:layout_width="match_parent"
- android:layout_height="50dp"
+ android:layout_height="wrap_content"
android:layout_gravity="center"
- android:layout_marginTop="30dp"
+
+ android:layout_marginTop="40dp"
android:orientation="horizontal">
- <TextView
+
+ <LinearLayout
android:id="@+id/home_loss"
android:layout_width="0dp"
- android:layout_height="match_parent"
+ android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
- android:text="鎸傚け"
- android:textColor="@color/text_selecter_color"
- android:textSize="@dimen/home_text_size" />
+ android:orientation="vertical">
+
+ <ImageView
+ android:layout_width="70dp"
+ android:layout_height="70dp"
+ android:src="@drawable/home_report" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:gravity="center"
+ android:text="鎸傚け"
+ android:textColor="@color/text_selecter_color"
+ android:textSize="@dimen/home_text_size" />
+ </LinearLayout>
+
<TextView
android:id="@+id/home_reportLoss"
android:layout_width="0dp"
@@ -72,33 +128,65 @@
android:gravity="center"
android:text="瑙i櫎鎸傚け"
android:textColor="@color/text_selecter_color"
- android:textSize="@dimen/home_text_size" />
- <TextView
+ android:textSize="@dimen/home_text_size"
+ android:visibility="gone" />
+
+ <LinearLayout
android:id="@+id/home_replacement"
android:layout_width="0dp"
- android:layout_height="match_parent"
+ android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
- android:text="琛ュ崱"
- android:textColor="@color/text_selecter_color"
- android:textSize="@dimen/home_text_size" />
+ android:orientation="vertical">
+
+ <ImageView
+ android:layout_width="70dp"
+ android:layout_height="70dp"
+ android:src="@drawable/home_replacement" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:gravity="center"
+ android:text="琛ュ崱"
+ android:textColor="@color/text_selecter_color"
+ android:textSize="@dimen/home_text_size" />
+ </LinearLayout>
+
+
</LinearLayout>
+
<LinearLayout
android:layout_width="match_parent"
- android:layout_height="50dp"
+ android:layout_height="wrap_content"
android:layout_gravity="center"
- android:layout_marginTop="30dp"
+ android:layout_marginTop="40dp"
android:orientation="horizontal">
- <TextView
+ <LinearLayout
android:id="@+id/home_admin"
android:layout_width="0dp"
- android:layout_height="match_parent"
+ android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
- android:text="绠$悊绯荤粺"
- android:textColor="@color/text_selecter_color"
- android:textSize="@dimen/home_text_size" />
+ android:orientation="vertical">
+
+ <ImageView
+ android:layout_width="70dp"
+ android:layout_height="70dp"
+ android:src="@drawable/home_system" />
+
+ <TextView
+
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:gravity="center"
+ android:text="绠$悊绯荤粺"
+ android:textColor="@color/text_selecter_color"
+ android:textSize="@dimen/home_text_size" />
+ </LinearLayout>
<TextView
android:id="@+id/home_parameter"
@@ -108,19 +196,32 @@
android:gravity="center"
android:text="鍙傛暟璁剧疆"
android:textColor="@color/text_selecter_color"
- android:textSize="@dimen/home_text_size" />
+ android:textSize="@dimen/home_text_size"
+ android:visibility="gone" />
- <TextView
+ <LinearLayout
android:id="@+id/home_my"
android:layout_width="0dp"
- android:layout_height="match_parent"
+ android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
- android:text="涓汉涓績"
- android:textColor="@color/text_selecter_color"
- android:textSize="@dimen/home_text_size" />
- </LinearLayout>
+ android:orientation="vertical">
+ <ImageView
+ android:layout_width="70dp"
+ android:layout_height="70dp"
+ android:src="@drawable/home_my" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:gravity="center"
+ android:text="涓汉涓績"
+ android:textColor="@color/text_selecter_color"
+ android:textSize="@dimen/home_text_size" />
+ </LinearLayout>
+ </LinearLayout>
</LinearLayout>
\ No newline at end of file
--
Gitblit v1.8.0