From 1f6f024bddf48dea1c17c54ade1535a10ef7b39b Mon Sep 17 00:00:00 2001 From: WJC <wjc@hdlchina.com.cn> Date: 星期一, 23 三月 2020 17:16:37 +0800 Subject: [PATCH] 2020-03-23-2 --- ZigbeeApp/Shared/Phone/Device/Logic/LogicView/Addview.cs | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/Addview.cs b/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/Addview.cs index 73b019c..48970d2 100644 --- a/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/Addview.cs +++ b/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/Addview.cs @@ -44,8 +44,8 @@ public Button switchBtn = new Button { - Width = Application.GetRealWidth(104), - Height = Application.GetRealHeight(63), + Width = Application.GetMinRealAverage(104), + Height = Application.GetMinRealAverage(63), UnSelectedImagePath = "ZigeeLogic/logicclose.png", SelectedImagePath = "ZigeeLogic/logicopen.png", X = Application.GetRealWidth(1080 - 58 - 104), @@ -60,7 +60,7 @@ 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() -- Gitblit v1.8.0