From 65a6bde49652558ada5daa15eca03d5061465a00 Mon Sep 17 00:00:00 2001
From: zuoxiao <470321431@qq.com>
Date: 星期五, 27 十二月 2024 18:00:46 +0800
Subject: [PATCH] 1.图片上传进度相关代码。 2.修复地图定位图标不居中问题。

---
 app/src/main/res/layout/item_add_filter_image.xml |   27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/app/src/main/res/layout/item_add_filter_image.xml b/app/src/main/res/layout/item_add_filter_image.xml
index 074b184..929c680 100644
--- a/app/src/main/res/layout/item_add_filter_image.xml
+++ b/app/src/main/res/layout/item_add_filter_image.xml
@@ -1,5 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <com.luck.picture.lib.widget.SquareRelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:app="http://schemas.android.com/apk/res-auto"
     xmlns:tools="http://schemas.android.com/tools"
     android:layout_width="match_parent"
     android:layout_height="wrap_content">
@@ -41,4 +42,30 @@
         android:textSize="11sp"
         android:visibility="gone"
         tools:visibility="visible" />
+
+
+    <RelativeLayout
+        android:id="@+id/mask_layer_bg"
+        android:layout_width="match_parent"
+        android:layout_height="match_parent"
+        android:background="@color/mask_layer_bg">
+
+        <com.king.view.circleprogressview.CircleProgressView
+            android:id="@+id/cpv"
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            android:layout_centerHorizontal="true"
+            android:layout_centerVertical="true"
+            app:cpvShowTick="false"
+            app:cpvStrokeWidth="2dp" />
+
+        <ImageView
+            android:id="@+id/postError"
+            android:layout_width="match_parent"
+            android:layout_height="match_parent"
+            android:layout_margin="40dp"
+            android:src="@drawable/ic_error_picture" />
+    </RelativeLayout>
+
+
 </com.luck.picture.lib.widget.SquareRelativeLayout>
\ No newline at end of file

--
Gitblit v1.8.0