From f14dcfd967404e197e7ec995ca8d6f2b090d3b7d Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期五, 11 九月 2020 09:16:59 +0800 Subject: [PATCH] 优化多功能面板:绑定温湿度传感器目标,和设备列表回路显示。优化数据矫正功能温湿度度不设置的情况。优化门锁时间设置最后一天和最后最后一个月的时间显示等 细节 --- ZigbeeApp/Shared/Phone/Device/Logic/LogicView/FunView.cs | 13 ++++++------- 1 files changed, 6 insertions(+), 7 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/FunView.cs b/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/FunView.cs index efced4a..0ac3aeb 100755 --- a/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/FunView.cs +++ b/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/FunView.cs @@ -15,8 +15,8 @@ }; public Button iconBtn = new Button { - Width = Application.GetRealWidth(81), - Height = Application.GetRealHeight(81), + Width = Application.GetMinRealAverage(81), + Height = Application.GetMinRealAverage(81), X = Application.GetRealWidth(58), Y = Application.GetRealHeight(55), //UnSelectedImagePath = $"ZigeeLogic/{iocn}.png", @@ -34,17 +34,16 @@ }; public Button funnextBtn = new Button { - Width = Application.GetRealWidth(58), - Height = Application.GetRealHeight(58), + Width = Application.GetMinRealAverage(58), + Height = Application.GetMinRealAverage(58), UnSelectedImagePath = "ZigeeLogic/next.png", X = Application.GetRealWidth(789 + 176), Y = Application.GetRealHeight(30 + 36), }; public Button lineBtn = new Button { - Y = Application.GetRealHeight(155), Width = Application.GetRealWidth(850), - Height = Application.GetRealHeight(5), + Height =1, X = Application.GetRealWidth(176), BackgroundColor = ZigbeeColor.Current.LogicRowLayoutLineColor, }; @@ -55,10 +54,10 @@ public FrameLayout FunFrameView() { - funFrameLayout.AddChidren(iconBtn); funFrameLayout.AddChidren(funnameBtn); funFrameLayout.AddChidren(funnextBtn); + lineBtn.Y = funFrameLayout.Height - 1; funFrameLayout.AddChidren(lineBtn); funFrameLayout.AddChidren(clickviewBtn); return funFrameLayout; -- Gitblit v1.8.0