| | |
| | | |
| | | var contentView = new VerticalScrolViewLayout() |
| | | { |
| | | Y = Application.GetRealHeight(74 + 16), |
| | | Y = Application.GetRealHeight(74 ), |
| | | Height = Application.GetRealHeight(Application.DesignHeight - 74), |
| | | }; |
| | | bodyView.AddChidren(contentView); |
| | | |
| | | contentView.AddChidren(new Button() |
| | | { |
| | | Height = Application.GetRealWidth(16) |
| | | }); |
| | | |
| | | #region 温度值 |
| | | infoView1 = new FrameLayout() |
| | |
| | | IsSelected = false, |
| | | }; |
| | | infoView1_DateView.AddChidren(infoView1_Date_Month); |
| | | |
| | | #if __IOS__ |
| | | infoView1_DateView.AddChidren(new Button() { Width = Application.GetRealWidth(2) }); |
| | | #endif |
| | | infoView1_Date_Year = new Button() |
| | | { |
| | | Width = Application.GetRealWidth(103), |
| | |
| | | Height = Application.GetRealWidth(16) |
| | | }); |
| | | |
| | | |
| | | if (function.attributes.Find((obj) => obj.key == WaterHeaterJinmao_AttrEnum.volume.ToString()) != null) |
| | | { |
| | | #region 用水量 |
| | |
| | | IsSelected = false, |
| | | }; |
| | | infoView2_DateView.AddChidren(infoView2_Date_Month); |
| | | |
| | | #if __IOS__ |
| | | infoView2_DateView.AddChidren(new Button() { Width = Application.GetRealWidth(2) }); |
| | | #endif |
| | | |
| | | infoView2_Date_Year = new Button() |
| | | { |
| | |
| | | Radius = (uint)Application.GetRealWidth(12), |
| | | }; |
| | | optionBaseView.AddChidren(topView); |
| | | topView.AddChidren(new Button() { Y = Application.GetRealHeight(39), Height = Application.GetRealHeight(1), BackgroundColor = CSS_Color.DividingLineColor }); |
| | | optionBaseView.AddChidren(new Button() { Y = Application.GetRealHeight(39), Height = Application.GetRealHeight(1), BackgroundColor = CSS_Color.DividingLineColor }); |
| | | |
| | | var btnCancel = new Button() |
| | | { |
| | |
| | | |
| | | var btnConfrim = new Button() |
| | | { |
| | | X = Application.GetRealWidth(160), |
| | | X = Application.GetRealWidth(163), |
| | | Width = Application.GetRealWidth(160), |
| | | TextAlignment = TextAlignment.CenterRight, |
| | | TextColor = CSS_Color.MainColor, |