| | |
| | | }; |
| | | middle.AddChidren(sceneFramelayout); |
| | | |
| | | |
| | | var sceneIconBtn = new Button |
| | | { |
| | | Width = Application.GetMinRealAverage(81), |
| | |
| | | Width = Application.GetRealWidth(850), |
| | | Height = Application.GetRealHeight(130), |
| | | X = Application.GetRealWidth(176 + 10), |
| | | LineColor = ZigbeeColor.Current.LogicRowLayoutLineColor, |
| | | |
| | | LineColor = ZigbeeColor.Current.LogicBlankBackgroundColor, |
| | | }; |
| | | sceneFramelayout.AddChidren(sceneRow); |
| | | |
| | |
| | | Gravity = Gravity.CenterVertical, |
| | | }; |
| | | sceneRow.AddChidren(selectedBtn); |
| | | |
| | | var lineBtn = new Button |
| | | { |
| | | Y = sceneFramelayout.Height - 1, |
| | | Width = Application.GetRealWidth(850), |
| | | Height = 1, |
| | | X = Application.GetRealWidth(176 + 10), |
| | | BackgroundColor = ZigbeeColor.Current.LogicRowLayoutLineColor, |
| | | }; |
| | | sceneFramelayout.AddChidren(lineBtn); |
| | | EventHandler<MouseEventArgs> sceneclick = (sender, e) => |
| | | { |
| | | tempScene = scene; |