From 844597b5813ff8589de503cd7d7b1bbd0586d287 Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期一, 13 五月 2024 19:38:03 +0800 Subject: [PATCH] 1.添加水量单价 2.修复发现的bug --- qihealonelibrary/src/main/res/layout/activity_recharge_qha.xml | 59 +++++++++++++++++++++++++++++++++++++++++++---------------- 1 files changed, 43 insertions(+), 16 deletions(-) diff --git a/qihealonelibrary/src/main/res/layout/activity_recharge_qha.xml b/qihealonelibrary/src/main/res/layout/activity_recharge_qha.xml index 106296c..315e1c2 100644 --- a/qihealonelibrary/src/main/res/layout/activity_recharge_qha.xml +++ b/qihealonelibrary/src/main/res/layout/activity_recharge_qha.xml @@ -109,6 +109,7 @@ android:textSize="@dimen/new_card_size" /> </LinearLayout> + <TextView android:id="@+id/red_remainder_water" android:layout_width="match_parent" @@ -173,29 +174,55 @@ android:textSize="@dimen/new_card_size" /> </LinearLayout> - + <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> @@ -204,11 +231,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