From 5b9a5a629f8c31a8c05a918dcefc557b46651dfe Mon Sep 17 00:00:00 2001
From: zuoxiao <470321431@qq.com>
Date: 星期三, 11 九月 2024 17:28:18 +0800
Subject: [PATCH] 修复bug不让外部应用访问

---
 qiheonlinelibrary/src/main/res/layout/activity_recharge_qhl.xml |  397 ++++++++++++++++++++++++++++++--------------------------
 1 files changed, 215 insertions(+), 182 deletions(-)

diff --git a/qiheonlinelibrary/src/main/res/layout/activity_recharge_qhl.xml b/qiheonlinelibrary/src/main/res/layout/activity_recharge_qhl.xml
index 825e865..83d92d5 100644
--- a/qiheonlinelibrary/src/main/res/layout/activity_recharge_qhl.xml
+++ b/qiheonlinelibrary/src/main/res/layout/activity_recharge_qhl.xml
@@ -38,206 +38,239 @@
 
     </LinearLayout>
 
-
-    <LinearLayout
-        android:id="@+id/recharge_text_LL"
+    <ScrollView
         android:layout_width="match_parent"
         android:layout_height="match_parent"
-        android:layout_below="@+id/titleBar"
-        android:orientation="vertical"
-        android:padding="20dp"
-        android:visibility="gone">
+        android:layout_above="@+id/recharge_registBtn"
+        android:layout_below="@+id/titleBar">
 
         <LinearLayout
             android:layout_width="match_parent"
-            android:layout_height="wrap_content"
-            android:layout_marginTop="15dp"
-            android:orientation="horizontal">
-
-            <TextView
-                android:layout_width="wrap_content"
-                android:layout_height="wrap_content"
-                android:text="鍗$姸鎬侊細"
-                android:textSize="@dimen/text_size" />
-
-            <TextView
-                android:id="@+id/red_statu"
-                android:layout_width="match_parent"
-                android:layout_height="wrap_content"
-                android:textColor="@color/red"
-                android:textSize="@dimen/new_card_size" />
-
-        </LinearLayout>
-
-        <LinearLayout
-            android:layout_width="match_parent"
-            android:layout_height="wrap_content"
-            android:layout_marginTop="15dp"
-            android:orientation="horizontal">
-
-            <TextView
-                android:layout_width="wrap_content"
-                android:layout_height="wrap_content"
-                android:text="濮撳悕锛�"
-                android:textSize="@dimen/new_card_size" />
-
-            <TextView
-                android:id="@+id/userName"
-                android:layout_width="match_parent"
-                android:layout_height="wrap_content"
-                android:textSize="@dimen/new_card_size" />
-
-        </LinearLayout>
-
-        <LinearLayout
-            android:layout_width="match_parent"
-            android:layout_height="wrap_content"
-            android:layout_marginTop="15dp"
-            android:orientation="horizontal">
-
-            <TextView
-                android:layout_width="wrap_content"
-                android:layout_height="wrap_content"
-                android:text="鍗″彿锛�"
-                android:textSize="@dimen/text_size" />
-
-            <TextView
-                android:id="@+id/red_initCode"
-                android:layout_width="match_parent"
-                android:layout_height="wrap_content"
-                android:text=""
-                android:textSize="@dimen/new_card_size" />
-
-        </LinearLayout>
-
-        <LinearLayout
-            android:layout_width="match_parent"
-            android:layout_height="wrap_content"
-            android:layout_marginTop="15dp"
-            android:orientation="horizontal"
-            android:visibility="visible">
-
-            <TextView
-
-                android:layout_width="wrap_content"
-                android:layout_height="wrap_content"
-                android:text="鍓╀綑閲戦锛�"
-                android:textSize="@dimen/text_size" />
-
-            <TextView
-                android:id="@+id/red_remainder_blance"
-                android:layout_width="match_parent"
-                android:layout_height="wrap_content"
-                android:textSize="@dimen/new_card_size" />
-
-        </LinearLayout>
-
-        <TextView
-            android:id="@+id/red_remainder_water"
-            android:layout_width="match_parent"
-            android:layout_height="wrap_content"
-            android:layout_marginTop="15dp"
-            android:text="鍓╀綑姘撮噺锛�"
-            android:visibility="gone"
-            android:textSize="@dimen/text_size" />
-
-        <TextView
-            android:id="@+id/red_rechargeDate"
-            android:layout_width="match_parent"
-            android:layout_height="wrap_content"
-            android:layout_marginTop="15dp"
-            android:text="鏈�鍚庤喘姘存棩鏈燂細"
-            android:textSize="@dimen/text_size"
-            android:visibility="visible" />
-        <TextView
-            android:id="@+id/red_rechargeElectric"
-            android:layout_width="match_parent"
-            android:layout_height="wrap_content"
-            android:layout_marginTop="15dp"
-            android:text="鐢甸噺鍗曚环锛�"
-            android:textSize="@dimen/text_size"
-            android:visibility="visible" />
-        <TextView
-            android:id="@+id/red_rechargeNumber"
-            android:layout_width="match_parent"
-            android:layout_height="wrap_content"
-            android:layout_marginTop="15dp"
-            android:text="鍏呭�兼鏁帮細"
-            android:textSize="@dimen/text_size"
-            android:visibility="gone" />
-
-        <TextView
-            android:id="@+id/red_total_water"
-            android:layout_width="match_parent"
-            android:layout_height="wrap_content"
-            android:layout_marginTop="15dp"
-            android:text="鎬荤敤姘撮噺锛�"
-            android:textSize="@dimen/text_size"
-            android:visibility="gone" />
-
-        <TextView
-            android:id="@+id/red_total_power"
-            android:layout_width="match_parent"
-            android:layout_height="wrap_content"
-            android:layout_marginTop="15dp"
-            android:text="鎬荤敤鐢甸噺锛�"
-            android:textSize="@dimen/text_size"
-            android:visibility="gone" />
-
-
-        <TextView
-            android:id="@+id/red_waterPrice"
-            android:layout_width="match_parent"
-            android:layout_height="wrap_content"
-            android:layout_marginTop="15dp"
-            android:text="姣忕珛鏂圭背姘翠环鏍硷細"
-            android:textSize="@dimen/text_size"
-            android:visibility="gone" />
-
-        <LinearLayout
-            android:id="@+id/recharge_LL"
-            android:layout_width="match_parent"
-            android:layout_height="wrap_content"
-            android:layout_marginTop="15dp"
+            android:layout_height="match_parent"
             android:orientation="vertical">
 
-            <TextView
-                android:id="@+id/red_recharge_water"
-                android:layout_width="match_parent"
-                android:layout_height="wrap_content"
-                android:layout_marginTop="15dp"
-                android:text="鍏呭�兼按閲忥細"
-                android:textSize="@dimen/text_size"
-                android:visibility="gone" />
 
             <LinearLayout
-                android:layout_width="wrap_content"
+                android:id="@+id/recharge_text_LL"
+                android:layout_width="match_parent"
                 android:layout_height="match_parent"
-                android:orientation="horizontal">
+                android:layout_below="@+id/titleBar"
+                android:orientation="vertical"
+                android:padding="20dp"
+                android:visibility="gone">
+
+                <LinearLayout
+                    android:layout_width="match_parent"
+                    android:layout_height="wrap_content"
+                    android:layout_marginTop="15dp"
+                    android:orientation="horizontal">
+
+                    <TextView
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:text="鍗$姸鎬侊細"
+                        android:textSize="@dimen/text_size" />
+
+                    <TextView
+                        android:id="@+id/red_statu"
+                        android:layout_width="match_parent"
+                        android:layout_height="wrap_content"
+                        android:textColor="@color/red"
+                        android:textSize="@dimen/new_card_size" />
+
+                </LinearLayout>
+
+                <LinearLayout
+                    android:layout_width="match_parent"
+                    android:layout_height="wrap_content"
+                    android:layout_marginTop="15dp"
+                    android:orientation="horizontal">
+
+                    <TextView
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:text="濮撳悕锛�"
+                        android:textSize="@dimen/new_card_size" />
+
+                    <TextView
+                        android:id="@+id/userName"
+                        android:layout_width="match_parent"
+                        android:layout_height="wrap_content"
+                        android:textSize="@dimen/new_card_size" />
+
+                </LinearLayout>
+
+                <LinearLayout
+                    android:layout_width="match_parent"
+                    android:layout_height="wrap_content"
+                    android:layout_marginTop="15dp"
+                    android:orientation="horizontal">
+
+                    <TextView
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:text="鍗″彿锛�"
+                        android:textSize="@dimen/text_size" />
+
+                    <TextView
+                        android:id="@+id/red_initCode"
+                        android:layout_width="match_parent"
+                        android:layout_height="wrap_content"
+                        android:text=""
+                        android:textSize="@dimen/new_card_size" />
+
+                </LinearLayout>
+                <LinearLayout
+                    android:layout_width="match_parent"
+                    android:layout_height="wrap_content"
+                    android:layout_marginTop="15dp"
+                    android:orientation="horizontal">
+
+                    <TextView
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:text="鐢ㄦ埛缂栧彿锛�"
+                        android:textSize="@dimen/text_size" />
+
+                    <TextView
+                        android:id="@+id/red_userCode"
+                        android:layout_width="match_parent"
+                        android:layout_height="wrap_content"
+                        android:text=""
+                        android:textSize="@dimen/new_card_size" />
+
+                </LinearLayout>
+                <LinearLayout
+                    android:layout_width="match_parent"
+                    android:layout_height="wrap_content"
+                    android:layout_marginTop="15dp"
+                    android:orientation="horizontal"
+                    android:visibility="visible">
+
+                    <TextView
+
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:text="鍏呭�煎悗鍓╀綑閲戦锛�"
+                        android:textSize="@dimen/text_size" />
+
+                    <TextView
+                        android:id="@+id/red_remainder_blance"
+                        android:layout_width="match_parent"
+                        android:layout_height="wrap_content"
+                        android:textSize="@dimen/new_card_size" />
+
+                </LinearLayout>
+
+                <TextView
+                    android:id="@+id/red_balance_electric"
+                    android:layout_width="match_parent"
+                    android:layout_height="wrap_content"
+                    android:layout_marginTop="15dp"
+                    android:text="鍓╀綑鐢甸噺锛�"
+                    android:textSize="@dimen/text_size"
+                    android:visibility="visible" />
+
+                <TextView
+                    android:id="@+id/red_rechargeDate"
+                    android:layout_width="match_parent"
+                    android:layout_height="wrap_content"
+                    android:layout_marginTop="15dp"
+                    android:text="鏈�鍚庤喘姘存棩鏈燂細"
+                    android:textSize="@dimen/text_size"
+                    android:visibility="visible" />
+
+                <TextView
+                    android:id="@+id/red_rechargeElectric"
+                    android:layout_width="match_parent"
+                    android:layout_height="wrap_content"
+                    android:layout_marginTop="15dp"
+                    android:text="鐢甸噺鍗曚环锛�"
+                    android:textSize="@dimen/text_size"
+                    android:visibility="visible" />
+
+                <TextView
+                    android:id="@+id/red_rechargeNumber"
+                    android:layout_width="match_parent"
+                    android:layout_height="wrap_content"
+                    android:layout_marginTop="15dp"
+                    android:text="鍏呭�兼鏁帮細"
+                    android:textSize="@dimen/text_size"
+                    android:visibility="gone" />
+
+                <TextView
+                    android:id="@+id/red_total_water"
+                    android:layout_width="match_parent"
+                    android:layout_height="wrap_content"
+                    android:layout_marginTop="15dp"
+                    android:text="鎬荤敤姘撮噺锛�"
+                    android:textSize="@dimen/text_size"
+                    android:visibility="gone" />
+
+                <TextView
+                    android:id="@+id/red_total_power"
+                    android:layout_width="match_parent"
+                    android:layout_height="wrap_content"
+                    android:layout_marginTop="15dp"
+                    android:text="鎬荤敤鐢甸噺锛�"
+                    android:textSize="@dimen/text_size"
+                    android:visibility="gone" />
 
 
                 <TextView
-                    android:id="@+id/recharge_tx"
-                    android:layout_width="wrap_content"
-                    android:layout_height="wrap_content"
-                    android:text="閲戦锛堝厓锛夛細"
-                    android:textColor="@color/red"
-                    android:textSize="@dimen/new_card_size" />
-
-                <EditText
-                    android:id="@+id/recharge_water"
+                    android:id="@+id/red_waterPrice"
                     android:layout_width="match_parent"
                     android:layout_height="wrap_content"
-                    android:hint="璇疯緭鍏ュ厖鍊肩殑閲戦"
-                    android:inputType="numberDecimal"
-                    android:textSize="@dimen/new_card_size" />
+                    android:layout_marginTop="15dp"
+                    android:text="姣忕珛鏂圭背姘翠环鏍硷細"
+                    android:textSize="@dimen/text_size"
+                    android:visibility="gone" />
 
+                <LinearLayout
+                    android:id="@+id/recharge_LL"
+                    android:layout_width="match_parent"
+                    android:layout_height="wrap_content"
+                    android:layout_marginTop="15dp"
+                    android:orientation="vertical">
+
+                    <TextView
+                        android:id="@+id/red_recharge_water"
+                        android:layout_width="match_parent"
+                        android:layout_height="wrap_content"
+                        android:layout_marginTop="15dp"
+                        android:text="鍏呭�兼按閲忥細"
+                        android:textSize="@dimen/text_size"
+                        android:visibility="gone" />
+
+                    <LinearLayout
+                        android:layout_width="wrap_content"
+                        android:layout_height="match_parent"
+                        android:orientation="horizontal">
+
+
+                        <TextView
+                            android:id="@+id/recharge_tx"
+                            android:layout_width="wrap_content"
+                            android:layout_height="wrap_content"
+                            android:text="閲戦锛堝厓锛夛細"
+                            android:textColor="@color/red"
+                            android:textSize="@dimen/new_card_size" />
+
+                        <EditText
+                            android:id="@+id/recharge_water"
+                            android:layout_width="match_parent"
+                            android:layout_height="wrap_content"
+                            android:hint="璇疯緭鍏ュ厖鍊肩殑閲戦"
+                            android:inputType="numberDecimal"
+                            android:textSize="@dimen/new_card_size" />
+
+                    </LinearLayout>
+
+
+                </LinearLayout>
             </LinearLayout>
-
-
         </LinearLayout>
-    </LinearLayout>
-
+    </ScrollView>
 
     <TextView
         android:id="@+id/recharge_registBtn"

--
Gitblit v1.8.0