From 596d0bcbacd8dde70f0bbcfdf07db5cf694220ef Mon Sep 17 00:00:00 2001
From: zuoxiao <470321431@qq.com>
Date: 星期三, 08 一月 2025 09:33:20 +0800
Subject: [PATCH] 1.修复上传文件取消上传还会上传bug 2.添加上传视频功能 3.添加关闭activity时关闭上传功能。
---
app/src/main/res/layout/fragment_order.xml | 41 ++++++++++++++++++++++++++++++-----------
1 files changed, 30 insertions(+), 11 deletions(-)
diff --git a/app/src/main/res/layout/fragment_order.xml b/app/src/main/res/layout/fragment_order.xml
index ede1ea9..5e378bb 100644
--- a/app/src/main/res/layout/fragment_order.xml
+++ b/app/src/main/res/layout/fragment_order.xml
@@ -148,22 +148,41 @@
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"
@@ -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