From ac909072af41b3dcb05d4a7df3d27a8e85e4e7e2 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期日, 28 六月 2020 17:43:18 +0800 Subject: [PATCH] 2020-06-28-1 --- 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 index 52a7f8a..664725a 100644 --- 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), + 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