From cc0d80c7d86c6d0167269b3408c4b30c24ce84e9 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期一, 23 三月 2020 16:55:37 +0800
Subject: [PATCH] ???????

---
 ZigbeeApp/Shared/Phone/UserView/LoginLoading.cs |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserView/LoginLoading.cs b/ZigbeeApp/Shared/Phone/UserView/LoginLoading.cs
index db26b57..86aa5a4 100755
--- a/ZigbeeApp/Shared/Phone/UserView/LoginLoading.cs
+++ b/ZigbeeApp/Shared/Phone/UserView/LoginLoading.cs
@@ -11,17 +11,16 @@
             BackgroundColor = ZigbeeColor.Current.GXCBackgroundColor;
             Tag = "Login";
         }
+
         /// <summary>
         /// show
         /// </summary>
         public void Show()
         {
-            var sceneBtn = new ImageView()
-            {
-                Width=Application.GetMinRealAverage(1080),
-                Height=Application.GetMinRealAverage(1920),
-                ImagePath="Logo/2.jpg"
-            };
+            var sceneBtn = new ImageView();
+            sceneBtn.Width = this.Width;
+            sceneBtn.Height = this.Height;
+            sceneBtn.ImagePath = "Logo/2.jpg";
             AddChidren(sceneBtn);
         }
     }

--
Gitblit v1.8.0