From 25429f085093d89d543a0b90e30d0d62d1b7dac9 Mon Sep 17 00:00:00 2001 From: hxb <hxb@hdlchina.com.cn> Date: 星期二, 30 八月 2022 09:37:38 +0800 Subject: [PATCH] 合并了IOS的代码 --- ZigbeeApp/Shared/Phone/Device/Logic/DelayTime.cs | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/DelayTime.cs b/ZigbeeApp/Shared/Phone/Device/Logic/DelayTime.cs index 61b6a9d..c2fab2e 100755 --- a/ZigbeeApp/Shared/Phone/Device/Logic/DelayTime.cs +++ b/ZigbeeApp/Shared/Phone/Device/Logic/DelayTime.cs @@ -31,37 +31,37 @@ var middle = new FrameLayout { Y = view.topRowLayout.Bottom, - Height = Application.GetRealHeight(1920 - 184), + Height = Application.GetRealHeight(Method.H - 184), BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor, }; this.AddChidren(middle); var blancolorFl = new FrameLayout { - Width = Application.GetMinRealAverage(200), - Height = Application.GetMinRealAverage(200), + Width = Application.GetRealWidth(200), + Height = Application.GetRealWidth(200), Y = Application.GetRealHeight(130), BackgroundColor = 0xFFFFFFFF, - Radius = (uint)Application.GetMinRealAverage(100), + Radius = (uint)Application.GetRealWidth(100), X = Application.GetRealWidth(440), }; middle.AddChidren(blancolorFl); var colorBtn = new Button { - Width = Application.GetMinRealAverage(200-24), - Height =Application.GetMinRealAverage(200-24), - X = Application.GetMinRealAverage(12), - Y = Application.GetMinRealAverage(12), + Width = Application.GetRealWidth(200-24), + Height =Application.GetRealWidth(200-24), + X = Application.GetRealWidth(12), + Y = Application.GetRealWidth(12), BackgroundColor = 0xFFFEF1ED, Radius = (uint)Application.GetMinRealAverage(88), }; blancolorFl.AddChidren(colorBtn); var btnicon = new Button { - X = Application.GetMinRealAverage(58), - Y = Application.GetMinRealAverage(58), - Width = Application.GetMinRealAverage(84), - Height = Application.GetMinRealAverage(84), + X = Application.GetRealWidth(58), + Y = Application.GetRealWidth(58), + Width = Application.GetRealWidth(84), + Height = Application.GetRealWidth(84), UnSelectedImagePath = "ZigeeLogic/delay.png", }; blancolorFl.AddChidren(btnicon); -- Gitblit v1.8.0