From ef63c84b3b408fea661f84d3f9ecc237787af250 Mon Sep 17 00:00:00 2001 From: WJC <wjc@hdlchina.com.cn> Date: 星期一, 09 十二月 2019 11:10:07 +0800 Subject: [PATCH] 2019-12-09-1 --- ZigbeeApp/Shared/Phone/Device/Logic/DeviceStateCondition.cs | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/DeviceStateCondition.cs b/ZigbeeApp/Shared/Phone/Device/Logic/DeviceStateCondition.cs index 31767bc..2f9ea5e 100644 --- a/ZigbeeApp/Shared/Phone/Device/Logic/DeviceStateCondition.cs +++ b/ZigbeeApp/Shared/Phone/Device/Logic/DeviceStateCondition.cs @@ -23,11 +23,11 @@ FrameLayout clickframeLayout = new FrameLayout(); Button clickbutton = new Button(); Button clicktextcolcrbutton = new Button(); - + public void Show() { - + UserView.HomePage.Instance.ScrollEnabled = false; this.BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor; #region 鏈�涓婇潰鐨勫竷灞�浠g爜 @@ -135,7 +135,7 @@ }; this.AddChidren(devicetypehorizontalScrol); - devicetypehorizontalScrol.SetCornerWithSameRadius(20,HDLUtils.RectCornerBottomLeft); + devicetypehorizontalScrol.SetCornerWithSameRadius(Application.GetRealHeight(50), HDLUtils.RectCornerBottomLeft); middle = new VerticalScrolViewLayout(); middle.Y = devicetypehorizontalScrol.Bottom + Application.GetRealHeight(40); @@ -144,7 +144,7 @@ middle.X = Application.GetRealWidth(58); //middle.Radius = (uint)Application.GetRealHeight(50); this.AddChidren(middle); - middle.SetCornerWithSameRadius(20, HDLUtils.RectCornerTopLeft); + middle.SetCornerWithSameRadius(Application.GetRealHeight(50), HDLUtils.RectCornerTopLeft); ///鐩墠鏀寔鐨勮澶� var deviceTypeList = new List<DeviceType> { DeviceType.IASZone, @@ -734,7 +734,7 @@ // Radius = (uint)Application.GetRealHeight(60), }; flMain.AddChidren(devicefra); - devicefra.SetCornerWithSameRadius(20, HDLUtils.RectCornerTopLeft|HDLUtils.RectCornerTopRight); + devicefra.SetCornerWithSameRadius(Application.GetRealHeight(50), HDLUtils.RectCornerTopLeft|HDLUtils.RectCornerTopRight); #region -------鍙栨秷 瀹屾垚 var timetype = new RowLayout -- Gitblit v1.8.0