From 5da99fed2eb0d08b6338064da5f998891252c7b8 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期一, 18 五月 2020 16:39:59 +0800
Subject: [PATCH] 2020-05-18-2

---
 ZigbeeApp/Shared/Phone/Device/Logic/LogicView/Addview.cs |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/Addview.cs b/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/Addview.cs
index b283963..48970d2 100755
--- a/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/Addview.cs
+++ b/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/Addview.cs
@@ -12,9 +12,9 @@
         };
         public Button lineBtn = new Button
         {
-            Y = Application.GetRealHeight(155),
+            //Y = Application.GetRealHeight(155),
             Width = Application.GetRealWidth(1080-58-58),
-            Height = Application.GetRealHeight(5),
+            Height =1,
             X = Application.GetRealWidth(58),
             BackgroundColor = ZigbeeColor.Current.LogicRowLayoutLineColor,
         };
@@ -34,8 +34,8 @@
         public Button iconBtn = new Button
         {
 
-            Width = Application.GetRealWidth(58),
-            Height = Application.GetRealHeight(58),
+            Width = Application.GetMinRealAverage(58),
+            Height = Application.GetMinRealAverage(58),
             UnSelectedImagePath = "ZigeeLogic/add.png",
             X = Application.GetRealWidth(1080 - 58-58),
             Y = Application.GetRealHeight(30 + 36),
@@ -60,11 +60,12 @@
 
             Width = Application.GetRealWidth(58 +58+40),
             Height = Application.GetRealHeight(160),
-            X = Application.GetRealWidth(1080 - 58 - 58),
+            X = Application.GetRealWidth(1080 - 58 - 58-40),
         };
 
         public FrameLayout AddDeviceView()
         {
+            lineBtn.Y = frameLayout.Height - 1;
             frameLayout.AddChidren(lineBtn);
             frameLayout.AddChidren(titleBtn);
             frameLayout.AddChidren(iconBtn);

--
Gitblit v1.8.0