From 9a4b76398009cf76c508d61f7e48fb6f5cb7ac2d Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期二, 21 七月 2020 09:46:53 +0800 Subject: [PATCH] 请合并最新多功能面板代码 --- ZigbeeApp/Shared/Phone/Device/Logic/LogicView/AddDeviceView.cs | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 49 insertions(+), 0 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/AddDeviceView.cs b/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/AddDeviceView.cs new file mode 100755 index 0000000..e8e3e20 --- /dev/null +++ b/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/AddDeviceView.cs @@ -0,0 +1,49 @@ +锘縰sing System; +using Shared.Common; + +namespace Shared.Phone.Device.Logic.LogicView +{ + public class AddDeviceView + { + public FrameLayout addframeLayout = new FrameLayout + { + Height = Application.GetRealHeight(160 + 30 + 50), + BackgroundColor = ZigbeeColor.Current.LogicBlankBackgroundColor, + }; + public Button addIconBtn = new Button + { + Height = Application.GetRealHeight(130 + 50), + Width = Application.GetRealWidth(908), + Y = Application.GetRealHeight(30), + X = Application.GetRealWidth(86), + UnSelectedImagePath = "ZigeeLogic/logicaddcolor.png", + }; + public Button titleBtn = new Button + { + Height = Application.GetRealHeight(58), + Width = Application.GetRealWidth(400), + Y = Application.GetRealHeight(45 + 30), + TextColor = ZigbeeColor.Current.LogicBlankBackgroundColor, + //TextID = MyInternationalizationString.addfunction, + X = Application.GetRealWidth(340), + TextSize = 14, + }; + /// <summary> + /// 鐐瑰嚮鐑敭 + /// </summary> + public Button clickBtn = new Button + { + Width = Application.GetRealWidth(1080 - 2 * 86), + Height = Application.GetRealHeight(130 + 50), + X = Application.GetRealWidth(86), + }; + public FrameLayout AddFl() + { + addframeLayout.AddChidren(addIconBtn); + addframeLayout.AddChidren(titleBtn); + addframeLayout.AddChidren(clickBtn); + return addframeLayout; + } + + } +} -- Gitblit v1.8.0