| | |
| | | var top = new TopFrameLayout(); |
| | | AddChidren(top); |
| | | top.InitTopview(); |
| | | top.SetTopTitle(R.MyInternationalizationString.AddScence); |
| | | top.SetTopTitle(R.MyInternationalizationString.AddDelayTime); |
| | | top.backButton.MouseUpEventHandler += (sender, e) => |
| | | { |
| | | RemoveFromParent(); |
| | |
| | | Height = Application.GetMinRealAverage(124), |
| | | Width = Application.GetMinRealAverage(124), |
| | | Gravity = Gravity.Center, |
| | | Radius = (uint)Application.GetRealHeight(124 / 2), |
| | | Radius = (uint)Application.GetRealHeight(58), |
| | | UnSelectedImagePath = "Item/Timer.png" |
| | | }; |
| | | bg1.AddChidren(timeImg); |
| | |
| | | Gravity = Gravity.CenterHorizontal, |
| | | TextID = R.MyInternationalizationString.SelectTimeForAction, |
| | | TextColor = ZigbeeColor.Current.GXCTextBlackColor, |
| | | TextSize=15, |
| | | IsMoreLines = true |
| | | }; |
| | | bodyFrameLayout.AddChidren(tip); |
| | |
| | | Y = Application.GetRealHeight(611), |
| | | Height = Application.GetRealHeight(1126), |
| | | BackgroundColor = ZigbeeColor.Current.GXCBackgroundColor, |
| | | Radius = (uint)Application.GetRealHeight(17), |
| | | Radius = (uint)Application.GetRealHeight(58), |
| | | }; |
| | | bodyFrameLayout.AddChidren(midFL); |
| | | |