| | |
| | | FrameLayout controlView = new FrameLayout() |
| | | { |
| | | Gravity = Gravity.CenterHorizontal, |
| | | Y = Application.GetRealHeight(88), |
| | | Y = Application.GetRealHeight(88 + 10), |
| | | Width = Application.GetRealWidth(327), |
| | | Height = Application.GetRealHeight(526), |
| | | BackgroundImagePath = "Public/Fragmentbg.png", |
| | |
| | | Text = "°C", |
| | | }; |
| | | controlView.AddChidren(btnTempUint); |
| | | if (function.GetAttribute(FunctionAttributeKey.TempType) != null) |
| | | { |
| | | btnTempUint.Text = function.GetAttrState(FunctionAttributeKey.TempType); |
| | | } |
| | | |
| | | btnIndoorTemp = new Button() |
| | | { |