From 133ca903ae9c4df6ff037f5223d5abcd0df926f4 Mon Sep 17 00:00:00 2001
From: WJC <wjc@hdlchina.com.cn>
Date: 星期五, 20 三月 2020 17:55:32 +0800
Subject: [PATCH] 2020-03-20-1

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

diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/Addview.cs b/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/Addview.cs
index 9b8d4d4..73b019c 100644
--- 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,
         };
@@ -65,6 +65,7 @@
 
         public FrameLayout AddDeviceView()
         {
+            lineBtn.Y = frameLayout.Height - 1;
             frameLayout.AddChidren(lineBtn);
             frameLayout.AddChidren(titleBtn);
             frameLayout.AddChidren(iconBtn);

--
Gitblit v1.8.0