From 6144d4267f92db9be96a7003f4352732bfe9bb3b Mon Sep 17 00:00:00 2001 From: WJC <wjc@hdlchina.com.cn> Date: 星期四, 19 三月 2020 17:49:31 +0800 Subject: [PATCH] 2020-03-19-1 --- ZigbeeApp/Shared/Phone/Device/Logic/LogicView/SelectedDeviceView.cs | 24 ++++++++++++++++-------- 1 files changed, 16 insertions(+), 8 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/SelectedDeviceView.cs b/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/SelectedDeviceView.cs old mode 100755 new mode 100644 index faf0fb9..e657b38 --- a/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/SelectedDeviceView.cs +++ b/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/SelectedDeviceView.cs @@ -17,8 +17,8 @@ /// </summary> public Button iconBtn = new Button { - Width = Application.GetRealWidth(81), - Height = Application.GetRealHeight(81), + Width = Application.GetMinRealAverage(81), + Height = Application.GetMinRealAverage(81), X = Application.GetRealWidth(104), Y = Application.GetRealHeight(25), // UnSelectedImagePath = "ZigeeLogic/time.png", @@ -27,11 +27,12 @@ /// public RowLayout stateRow = new RowLayout { - Width = Application.GetRealWidth(800), + Width = Application.GetRealWidth(800+58), Height = Application.GetRealHeight(130), X = Application.GetRealWidth(222), - LineColor = ZigbeeColor.Current.LogicRowLayoutLineColor, - }; + LineColor = ZigbeeColor.Current.LogicBlankBackgroundColor, + SubViewWidth=Application.GetRealWidth(184),//鏀瑰彉缂栬緫鎺т欢瀹藉害澶氬皯锛� + }; /// <summary> /// 鏄剧ず鍚嶅瓧(闄よ澶囩被鍨嬪) /// </summary> @@ -84,8 +85,14 @@ TextColor = ZigbeeColor.Current.LogicBtnCancelColor, TextSize = 14, }; - + public Button lineBtn = new Button + { + Width = Application.GetRealWidth(800), + Y=Application.GetRealHeight(130-5), + Height = Application.GetRealHeight(5), + BackgroundColor = ZigbeeColor.Current.LogicRowLayoutLineColor, + }; /// <summary> /// 缂栬緫 @@ -109,12 +116,13 @@ middle.AddChidren(selecetdFrameLayout); selecetdFrameLayout.AddChidren(iconBtn); selecetdFrameLayout.AddChidren(stateRow); - stateRow.AddRightView(edit); - stateRow.AddRightView(del); + //stateRow.AddRightView(edit); + //stateRow.AddRightView(del); stateRow.AddChidren(deviceNameBtn); stateRow.AddChidren(regionNameBtn); stateRow.AddChidren(ordinaryBtn); stateRow.AddChidren(selecetddevicestateBtn); + stateRow.AddChidren(lineBtn); } } -- Gitblit v1.8.0