New file |
| | |
| | | using 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; |
| | | } |
| | | |
| | | } |
| | | } |