From 652243206427f35a256400a149a1734085824cb9 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期三, 02 九月 2020 17:35:03 +0800 Subject: [PATCH] 2020-09-02-4 --- ZigbeeApp/Shared/Phone/Device/Logic/LogicView/LightView.cs | 24 +++++++++++++++++++++++- 1 files changed, 23 insertions(+), 1 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/LightView.cs b/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/LightView.cs old mode 100644 new mode 100755 index 52a7f8a..5d95c6d --- a/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/LightView.cs +++ b/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/LightView.cs @@ -14,6 +14,9 @@ { Height = Application.GetRealHeight(150), }; + /// <summary> + /// 鍔熻兘鏍囬 + /// </summary> public Button titleBtn = new Button { X = Application.GetRealWidth(58), @@ -26,14 +29,32 @@ TextSize = 14, }; + /// <summary> + /// 涓嬩竴绾ц彍鍗曞浘鏍� + /// </summary> public Button nextBtn = new Button { Width = Application.GetMinRealAverage(103), Height = Application.GetMinRealAverage(103), - UnSelectedImagePath = "ZigeeLogic/next.png", + UnSelectedImagePath = "ZigeeLogic/back1.png", X = Application.GetRealWidth(920), Y = Application.GetRealHeight(11 + 20), }; + + /// <summary> + /// 鐘舵�佹樉绀烘枃鏈� + /// </summary> + public Button seletecdTextBtn = new Button + { + X = Application.GetRealWidth(300), + Y = Application.GetRealHeight(34+20), + Height = Application.GetRealHeight(58), + Width = Application.GetRealWidth(1080-300 - 126), + TextAlignment = TextAlignment.CenterRight, + TextColor = ZigbeeColor.Current.LogicBtnSelectedColor, + TextSize = 14, + }; + public Button lineBtn = new Button { Width = Application.GetRealWidth(964), @@ -48,6 +69,7 @@ public FrameLayout Show() { frameLayout.AddChidren(titleBtn); + frameLayout.AddChidren(seletecdTextBtn); frameLayout.AddChidren(nextBtn); lineBtn.Y = frameLayout.Height - 1; frameLayout.AddChidren(lineBtn); -- Gitblit v1.8.0