| | |
| | | /// 自动化 |
| | | /// </summary> |
| | | public async void ShowAutotion() |
| | | { |
| | | functionSceneBodyView.BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor; |
| | | |
| | | {
|
| | |
|
| | | functionSceneAutoBodyView.BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor;
|
| | | |
| | | var bjFrameLayout = new FrameLayout |
| | | { |
| | | Width = Application.GetRealWidth(1080 - 58), |
| | |
| | | Radius = (uint)Application.GetRealHeight(50), |
| | | Y = Application.GetRealHeight(30), |
| | | }; |
| | | functionSceneBodyView.AddChidren(bjFrameLayout); |
| | | functionSceneAutoBodyView.AddChidren(bjFrameLayout); |
| | | |
| | | var sigBtn = new Button |
| | | { |
| | |
| | | Y = bjFrameLayout.Bottom + Application.GetRealHeight(30), |
| | | Height = Application.GetRealHeight(0), |
| | | }; |
| | | functionSceneBodyView.AddChidren(scenehorizontalScrol); |
| | | functionSceneAutoBodyView.AddChidren(scenehorizontalScrol); |
| | | |
| | | var logicScrolView = new VerticalScrolViewLayout |
| | | { |
| | | Height = functionSceneBodyView.Height - bjFrameLayout.Height - bjFrameLayout.Y - scenehorizontalScrol.Height - Application.GetRealHeight(30), |
| | | Height = functionSceneAutoBodyView.Height - bjFrameLayout.Height - bjFrameLayout.Y - scenehorizontalScrol.Height - Application.GetRealHeight(30), |
| | | BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor, |
| | | X = Application.GetRealWidth(58), |
| | | Radius = (uint)Application.GetRealHeight(50), |
| | | Y = scenehorizontalScrol.Bottom, |
| | | }; |
| | | functionSceneBodyView.AddChidren(logicScrolView); |
| | | functionSceneAutoBodyView.AddChidren(logicScrolView); |
| | | |
| | | |
| | | recommendswitchBtn.MouseUpEventHandler += (sender, e) => |