From b3e7f379e72111f55a28c302804702ee7c66bfa2 Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期六, 18 一月 2025 16:39:16 +0800 Subject: [PATCH] 1.管网的js相关代码 --- app/src/main/res/layout/fragment_order.xml | 43 +++++++++++++++++++++++++++++++------------ 1 files changed, 31 insertions(+), 12 deletions(-) diff --git a/app/src/main/res/layout/fragment_order.xml b/app/src/main/res/layout/fragment_order.xml index c89655f..5e378bb 100644 --- a/app/src/main/res/layout/fragment_order.xml +++ b/app/src/main/res/layout/fragment_order.xml @@ -148,27 +148,46 @@ android:background="@drawable/top_state_bg" android:orientation="horizontal"> - <TextView - android:id="@+id/manage_state_progress" - android:layout_width="wrap_content" + <RelativeLayout + android:id="@+id/manage_state_progressRL" + android:layout_width="0dp" android:layout_height="match_parent" android:layout_margin="5dp" android:layout_weight="1" - android:background="@drawable/ic_choose_bg_whit" - android:gravity="center" - android:text="鏈В鍐�" - android:textColor="@color/title_color" - android:textSize="@dimen/top_state_text_size" - android:textStyle="bold" /> + android:background="@drawable/ic_choose_bg_whit"> + + <TextView + android:id="@+id/manage_state_progress" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:layout_centerHorizontal="true" + android:layout_centerVertical="true" + android:gravity="center" + android:text="鏈畬鎴�" + android:textColor="@color/title_color" + android:textSize="@dimen/top_state_text_size" + android:textStyle="bold" /> + + <ImageView + android:id="@+id/red_dot_img" + android:layout_width="9dp" + android:layout_height="9dp" + android:layout_centerVertical="true" + android:layout_marginLeft="5dp" + android:layout_toEndOf="@+id/manage_state_progress" + android:src="@drawable/ic_red_dot" + android:visibility="gone" /> + </RelativeLayout> + <TextView android:id="@+id/manage_state_finish" - android:layout_width="wrap_content" + android:layout_width="0dp" android:layout_height="match_parent" android:layout_margin="5dp" android:layout_weight="1" android:gravity="center" - android:text="宸茶В鍐�" + android:text="宸插畬鎴�" android:textColor="@color/black" android:textSize="@dimen/top_state_text_size" /> @@ -195,7 +214,7 @@ android:id="@+id/recyclerView" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="#fff" + android:background="@color/item_bg_color" android:overScrollMode="never" android:padding="10dp" /> -- Gitblit v1.8.0