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_red_card_qhl.xml | 173 ++++++++++++++++++++++++++++++++++++++++++++------------- 1 files changed, 133 insertions(+), 40 deletions(-) diff --git a/qiheonlinelibrary/src/main/res/layout/activity_red_card_qhl.xml b/qiheonlinelibrary/src/main/res/layout/activity_red_card_qhl.xml index b6094af..1115795 100644 --- a/qiheonlinelibrary/src/main/res/layout/activity_red_card_qhl.xml +++ b/qiheonlinelibrary/src/main/res/layout/activity_red_card_qhl.xml @@ -26,13 +26,26 @@ android:layout_margin="20dp" android:orientation="vertical"> - <TextView - android:id="@+id/red_name" + <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="15dp" - android:text="濮撳悕锛�" - android:textSize="@dimen/text_size" /> + 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_name" + android:layout_width="match_parent" + android:layout_height="wrap_content" + + android:text="" + android:textSize="@dimen/text_size" /> + </LinearLayout> <LinearLayout android:layout_width="match_parent" @@ -47,75 +60,155 @@ android:textSize="@dimen/text_size" /> <TextView - android:id="@+id/red_initCode" + android:id="@+id/red_cardCode" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="" android:textSize="@dimen/text_size" /> </LinearLayout> - - <TextView - android:id="@+id/red_remainder_blance" + <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="15dp" - android:text="鍓╀綑閲戦锛�" - android:textSize="@dimen/text_size" - android:visibility="visible" /> + android:orientation="horizontal"> - <TextView - android:id="@+id/red_remainder_water" + <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/text_size" /> + </LinearLayout> + + <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="15dp" - android:text="鍓╀綑姘撮噺锛�" - android:textSize="@dimen/text_size" - android:visibility="gone"/> + android:orientation="horizontal"> - <TextView - android:id="@+id/red_rechargeDate" + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="鍓╀綑閲戦锛�" + android:textSize="@dimen/text_size" /> + + <TextView + android:id="@+id/red_blance" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="" + android:textSize="@dimen/text_size" + android:visibility="visible" /> + </LinearLayout> + + <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="15dp" - android:text="鏈�鍚庤喘姘存棩鏈燂細" - android:textSize="@dimen/text_size" - android:visibility="visible" /> + android:orientation="horizontal"> - <TextView - android:id="@+id/red_rechargeNumber" + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="鍓╀綑鐢甸噺锛�" + android:textSize="@dimen/text_size" /> + + <TextView + android:id="@+id/red_electric" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="" + android:textSize="@dimen/text_size" + android:visibility="visible" /> + </LinearLayout> + + <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="15dp" - android:text="鍏呭�兼鏁帮細" - android:textSize="@dimen/text_size" - android:visibility="gone" /> + android:orientation="horizontal"> - <TextView - android:id="@+id/red_total_water" + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="鎬诲厖鍊奸噾棰濓細" + android:textSize="@dimen/text_size" /> + + <TextView + android:id="@+id/red_totalMorny" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="" + android:textSize="@dimen/text_size" + android:visibility="visible" /> + </LinearLayout> + + <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="15dp" - android:text="鎬荤敤姘撮噺锛�" - android:textSize="@dimen/text_size" - android:visibility="gone" /> + android:orientation="horizontal"> - <TextView - android:id="@+id/red_total_power" + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="鎵嬫満鍙凤細" + android:textSize="@dimen/text_size" /> + + <TextView + android:id="@+id/red_phone" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="" + android:textSize="@dimen/text_size" /> + </LinearLayout> + + <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="15dp" - android:text="鎬荤敤鐢甸噺锛�" - android:textSize="@dimen/text_size" - android:visibility="gone" /> + android:orientation="horizontal"> - <TextView - android:id="@+id/red_statu" + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="韬唤璇佸彿锛�" + android:textSize="@dimen/text_size" /> + + <TextView + android:id="@+id/red_codeId" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="" + android:textSize="@dimen/text_size" /> + </LinearLayout> + + <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="15dp" - android:text="鍗$姸鎬侊細" - android:textSize="@dimen/text_size" /> + 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:text="" + android:textSize="@dimen/text_size" /> + </LinearLayout> </LinearLayout> -- Gitblit v1.8.0