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 | 42 ++++++++++++++++++++++++++++++++++-------- 1 files changed, 34 insertions(+), 8 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 9a73c6d..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,7 +16,9 @@ <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 @@ -34,6 +36,7 @@ android:layout_marginTop="15dp" android:text="褰撳墠鍗″彿锛�" android:textSize="@dimen/text_size" /> + <TextView android:id="@+id/red_userCode" android:layout_width="match_parent" @@ -49,6 +52,15 @@ android:layout_marginTop="15dp" android:text="鍏呭�奸噾棰濓細" android:textSize="@dimen/text_size" /> + + <TextView + android:id="@+id/red_deductionMorny" + 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_balance" android:layout_width="match_parent" @@ -56,14 +68,15 @@ 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_rechargeElectric" @@ -71,16 +84,18 @@ android:layout_height="wrap_content" android:layout_marginTop="15dp" android:text="鍏呭�肩數閲忥細" - android:visibility="visible" - android:textSize="@dimen/text_size" /> + 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:visibility="visible" - android:textSize="@dimen/text_size" /> + android:textSize="@dimen/text_size" + android:visibility="visible" /> + <TextView android:id="@+id/red_rechargeDate" android:layout_width="match_parent" @@ -118,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