| | |
| | | }; |
| | | public Button lineBtn = new Button |
| | | { |
| | | Y = Application.GetRealHeight(155), |
| | | //Y = Application.GetRealHeight(155), |
| | | Width = Application.GetRealWidth(1080-58-58), |
| | | Height = Application.GetRealHeight(5), |
| | | Height =1, |
| | | X = Application.GetRealWidth(58), |
| | | BackgroundColor = ZigbeeColor.Current.LogicRowLayoutLineColor, |
| | | }; |
| | |
| | | { |
| | | |
| | | Width = Application.GetRealWidth(58), |
| | | Height = Application.GetRealHeight(58), |
| | | Height = Application.GetRealWidth(58), |
| | | UnSelectedImagePath = "ZigeeLogic/add.png", |
| | | X = Application.GetRealWidth(1080 - 58-58), |
| | | Y = Application.GetRealHeight(30 + 36), |
| | |
| | | |
| | | public Button switchBtn = new Button |
| | | { |
| | | Width = Application.GetMinRealAverage(104), |
| | | Height = Application.GetMinRealAverage(63), |
| | | Width = Application.GetRealWidth(104), |
| | | Height = Application.GetRealWidth(63), |
| | | UnSelectedImagePath = "ZigeeLogic/logicclose.png", |
| | | SelectedImagePath = "ZigeeLogic/logicopen.png", |
| | | X = Application.GetRealWidth(1080 - 58 - 104), |
| | |
| | | |
| | | Width = Application.GetRealWidth(58 +58+40), |
| | | Height = Application.GetRealHeight(160), |
| | | X = Application.GetRealWidth(1080 - 58 - 58), |
| | | X = Application.GetRealWidth(1080 - 58 - 58-40), |
| | | }; |
| | | |
| | | public FrameLayout AddDeviceView() |
| | | { |
| | | lineBtn.Y = frameLayout.Height - 1; |
| | | frameLayout.AddChidren(lineBtn); |
| | | frameLayout.AddChidren(titleBtn); |
| | | frameLayout.AddChidren(iconBtn); |