From 06cc3ba9dbdda5d8b7d1cd0ec42c90d27333b0c4 Mon Sep 17 00:00:00 2001 From: lijia Date: Wed, 10 Jul 2024 15:05:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=BD=AF=E9=94=AE=E7=9B=98?= =?UTF-8?q?=E4=B8=8E=E8=BE=93=E5=85=A5=E6=A1=86=E8=81=94=E5=8A=A8=E4=BB=A5?= =?UTF-8?q?=E5=8F=8A=E6=8F=90=E4=BA=A4=E6=B7=BB=E5=8A=A0loading?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/AndroidManifest.xml | 2 ++ .../ui/auth/CertificatesActivity.java | 20 +++++++++++++++++++ .../main/res/layout/activity_photo_car.xml | 4 ++-- 3 files changed, 24 insertions(+), 2 deletions(-) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 0cdd231..3d7e000 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -93,6 +93,7 @@ android:screenOrientation="portrait" /> map = new HashMap<>(); if ("".equals(url3)) { map.put("imgId", fid); @@ -1009,6 +1027,8 @@ public class CertificatesActivity extends BaseAppCompatActivity { // Toast.makeText(con,"请完善内容",Toast.LENGTH_SHORT).show(); // return; // } + customDialog = new CustomDialog(con, "网络请求中..."); + customDialog.show(); Map map = new HashMap<>(); if ("".equals(url3)) { map.put("imgId", fid); diff --git a/app/src/main/res/layout/activity_photo_car.xml b/app/src/main/res/layout/activity_photo_car.xml index 5143767..2f9eab4 100644 --- a/app/src/main/res/layout/activity_photo_car.xml +++ b/app/src/main/res/layout/activity_photo_car.xml @@ -81,7 +81,7 @@ android:id="@+id/zjimg_name" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginTop="@dimen/dp_19" + android:layout_marginTop="@dimen/dp_16" android:text="从业资格证照片" android:textColor="#ff333333" android:textSize="@dimen/sp_15" /> @@ -91,7 +91,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentBottom="true" - android:layout_marginBottom="@dimen/dp_19" + android:layout_marginBottom="@dimen/dp_16" android:text="点击上传图片" android:textColor="@color/theme_color" android:textSize="@dimen/sp_15" />