From 7cfa7455b345faa55f2d11ff21b1e6b9e678a5a2 Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期五, 16 八月 2024 15:51:16 +0800 Subject: [PATCH] 界面添加图标 --- qiheonlinelibrary/src/main/res/layout/activity_recharge_detail_qhl.xml | 63 ++++++++++++++++++++++++++----- 1 files changed, 52 insertions(+), 11 deletions(-) diff --git a/qiheonlinelibrary/src/main/res/layout/activity_recharge_detail_qhl.xml b/qiheonlinelibrary/src/main/res/layout/activity_recharge_detail_qhl.xml index 4799161..262a752 100644 --- a/qiheonlinelibrary/src/main/res/layout/activity_recharge_detail_qhl.xml +++ b/qiheonlinelibrary/src/main/res/layout/activity_recharge_detail_qhl.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" @@ -16,14 +16,15 @@ <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" + android:layout_above="@id/read_btn" android:orientation="vertical" + android:layout_below="@id/titleBar" android:padding="30dp"> <TextView android:id="@+id/red_name" android:layout_width="match_parent" android:layout_height="wrap_content" - android:text="鐢ㄦ埛濮撳悕锛�" android:textSize="@dimen/text_size" /> @@ -37,35 +38,64 @@ android:textSize="@dimen/text_size" /> <TextView + android:id="@+id/red_userCode" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginTop="15dp" + android:text="褰撳墠鍗″彿锛�" + android:textSize="@dimen/text_size" /> + + <TextView android:id="@+id/red_remainder_morny" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="15dp" android:text="鍏呭�奸噾棰濓細" android:textSize="@dimen/text_size" /> + <TextView - android:id="@+id/red_recharge_water" + android:id="@+id/red_deductionMorny" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="15dp" - android:text="鍏呭�兼按閲忥細" + android:text="鍏呭�奸噾棰濓細" android:textSize="@dimen/text_size" /> + + <TextView + android:id="@+id/red_recharge_balance" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginTop="15dp" + 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:layout_marginTop="15dp" android:text="鍓╀綑閲戦锛�" - android:visibility="gone" - android:textSize="@dimen/text_size" /> + android:textSize="@dimen/text_size" + android:visibility="gone" /> + <TextView - android:id="@+id/red_surplusWater" + android:id="@+id/red_rechargeElectric" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="15dp" - android:text="鍓╀綑姘撮噺锛�" - android:visibility="gone" - android:textSize="@dimen/text_size" /> + android:text="鍏呭�肩數閲忥細" + android:textSize="@dimen/text_size" + android:visibility="visible" /> + + <TextView + android:id="@+id/red_surplusElectric" + 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" @@ -103,4 +133,15 @@ android:textSize="@dimen/text_size" /> </LinearLayout> -</LinearLayout> \ No newline at end of file + <TextView + android:id="@+id/read_btn" + android:layout_width="match_parent" + android:layout_height="50dp" + android:layout_alignParentBottom="true" + android:background="@color/title_bg" + android:gravity="center" + android:text="鍐嶆鎵撳嵃鍑潯" + android:textColor="#000000" + android:textSize="@dimen/new_card_size" + android:visibility="invisible" /> +</RelativeLayout> \ No newline at end of file -- Gitblit v1.8.0