From 6851c4bffac2c676e905d2785f931a9073a54faf Mon Sep 17 00:00:00 2001 From: fyf Date: Mon, 5 Jun 2023 18:01:56 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E9=85=8D=E7=BD=AE=E4=BF=AE?= =?UTF-8?q?=E6=94=B92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/com/example/bpa/MainActivity.java | 3 +++ .../main/res/layout/from/layout/activity_systemparameter.xml | 1 + 2 files changed, 4 insertions(+) diff --git a/app/src/main/java/com/example/bpa/MainActivity.java b/app/src/main/java/com/example/bpa/MainActivity.java index 5299b84..217a64f 100644 --- a/app/src/main/java/com/example/bpa/MainActivity.java +++ b/app/src/main/java/com/example/bpa/MainActivity.java @@ -365,6 +365,9 @@ public class MainActivity extends FragmentActivity implements View.OnClickListen T.show(MainActivity.this, "查询成功!"); } }); + }else + { + T.show(MainActivity.this, "没有查询到该订单!"); } } else { runOnUiThread(new Runnable() { diff --git a/app/src/main/res/layout/from/layout/activity_systemparameter.xml b/app/src/main/res/layout/from/layout/activity_systemparameter.xml index 0cc5297..fbc552a 100644 --- a/app/src/main/res/layout/from/layout/activity_systemparameter.xml +++ b/app/src/main/res/layout/from/layout/activity_systemparameter.xml @@ -271,6 +271,7 @@ android:id="@+id/environment" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_marginRight="20dp" style="@style/commonSpinnerStyle"/>