From a45fe56aeeac8f28a9891b83362954067c8166dc Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期五, 14 八月 2020 09:07:05 +0800 Subject: [PATCH] 请合并新代码,更改多功能面板绑定表重复问题 --- ZigbeeApp/Shared/Phone/Device/Logic/LogicView/RoomClickView.cs | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 51 insertions(+), 0 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/RoomClickView.cs b/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/RoomClickView.cs new file mode 100755 index 0000000..e6adce3 --- /dev/null +++ b/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/RoomClickView.cs @@ -0,0 +1,51 @@ +锘縰sing System; +namespace Shared.Phone.Device.Logic.LogicView +{ + public class RoomClickView + { + public RoomClickView() + { + + } + /// <summary> + /// 鐖舵帶浠� + /// </summary> + public FrameLayout fra = new FrameLayout + { + Height = Application.GetRealHeight(204), + Width = Application.GetRealWidth(245), + }; + /// <summary> + /// 鑳屾櫙鍥剧墖鎺т欢 + /// </summary> + public Button roombjBtn = new Button + { + Height = Application.GetRealHeight(72), + Width = Application.GetRealWidth(170), + UnSelectedImagePath = "ZigeeLogic/iconBackgroundColor1.png", + SelectedImagePath = "ZigeeLogic/iconSelectedBackgroundColor1.png", + Y = Application.GetRealHeight(60), + X = Application.GetRealWidth(26), + }; + /// <summary> + /// 鎴块棿鍚嶅瓧鎺т欢 + /// </summary> + public Button roomnameBtn = new Button + { + Height = Application.GetRealHeight(49), + Width = Application.GetRealWidth(125), + TextColor = Common.ZigbeeColor.Current.LogicBtnCancelColor, + SelectedTextColor = Common.ZigbeeColor.Current.LogicBlankBackgroundColor, + Y = Application.GetRealHeight(72), + X = Application.GetRealWidth(26 + 22), + + }; + public void Show(HorizontalScrolViewLayout HorizontalScrolViewLayout) + { + HorizontalScrolViewLayout.AddChidren(fra); + fra.AddChidren(roombjBtn); + fra.AddChidren(roomnameBtn); + } + + } +} -- Gitblit v1.8.0