From 07e08bd4804b99f6ceab90fb7d65490cf04e6494 Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期二, 14 五月 2024 14:33:03 +0800 Subject: [PATCH] 1.隐藏参数设置里的卡密码设置 --- qihealonelibrary/src/main/res/layout/activity_recharge_qha.xml | 136 +++++++++++++++++++++++++++++++++++---------- 1 files changed, 105 insertions(+), 31 deletions(-) diff --git a/qihealonelibrary/src/main/res/layout/activity_recharge_qha.xml b/qihealonelibrary/src/main/res/layout/activity_recharge_qha.xml index 6c5b8e9..ed56be9 100644 --- a/qihealonelibrary/src/main/res/layout/activity_recharge_qha.xml +++ b/qihealonelibrary/src/main/res/layout/activity_recharge_qha.xml @@ -48,6 +48,26 @@ 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" @@ -57,7 +77,7 @@ <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="鐢ㄦ埛濮撳悕锛�" + android:text="濮撳悕锛�" android:textSize="@dimen/new_card_size" /> <TextView @@ -77,7 +97,7 @@ <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="鐢ㄦ埛娉ㄥ唽缂栧彿锛�" + android:text="鍗″彿锛�" android:textSize="@dimen/text_size" /> <TextView @@ -93,7 +113,8 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="15dp" - android:orientation="horizontal"> + android:orientation="horizontal" + android:visibility="gone"> <TextView @@ -110,48 +131,101 @@ </LinearLayout> - <LinearLayout + <TextView + android:id="@+id/red_remainder_water" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="15dp" - android:orientation="horizontal"> + android:text="鍓╀綑姘撮噺锛�" + android:textSize="@dimen/text_size" /> - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="鍗$姸鎬侊細" - 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_statu" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:textSize="@dimen/new_card_size" /> + <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" /> - </LinearLayout> + <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="visible" /> <LinearLayout android:id="@+id/recharge_LL" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="15dp" - android:orientation="horizontal"> + android:orientation="vertical"> <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_recharge_water" 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="visible" /> + + <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> @@ -160,11 +234,11 @@ android:id="@+id/recharge_registBtn" android:layout_width="match_parent" android:layout_height="50dp" - android:visibility="gone" android:layout_alignParentBottom="true" android:background="@color/title_bg" android:gravity="center" android:text="鍏呭��" android:textColor="#000000" - android:textSize="@dimen/new_card_size" /> + android:textSize="@dimen/new_card_size" + android:visibility="gone" /> </RelativeLayout> \ No newline at end of file -- Gitblit v1.8.0