| | |
| | | |
| | | var imgFL = new FrameLayout |
| | | { |
| | | Height = Application.GetRealHeight(556), |
| | | Height = Application.GetRealHeight(559),
|
| | | BackgroundColor = ZigbeeColor.Current.GXCBackgroundColor |
| | | }; |
| | | bodyFrameLayout.AddChidren(imgFL); |
| | |
| | | Height = Application.GetMinRealAverage(444), |
| | | Gravity = Gravity.CenterHorizontal, |
| | | Radius = (uint)Application.GetMinRealAverage(CommonFormResouce.BigFormRadius), |
| | | ImagePath = "SceneIcon/3.jpg" |
| | | ImagePath = "SceneIcon/3.png"
|
| | | }; |
| | | imgFL.AddChidren(backGround); |
| | | |
| | | var infoFL = new FrameLayout |
| | | { |
| | | Y = Application.GetRealHeight(588), |
| | | Height = Application.GetRealHeight(429), |
| | | Y = imgFL.Bottom + Application.GetRealHeight(23),
|
| | | Height = Application.GetRealHeight(418),
|
| | | BackgroundColor = ZigbeeColor.Current.GXCBackgroundColor |
| | | }; |
| | | bodyFrameLayout.AddChidren(infoFL); |
| | |
| | | infoFL.AddChidren(nameRow); |
| | | |
| | | var zoneRow = new DeviceInfoRow(257); |
| | | zoneRow.Y = nameRow.Bottom + Application.GetRealHeight(14);
|
| | | zoneRow.Init(); |
| | | zoneRow.SetTipTitle($"{Language.StringByID(R.MyInternationalizationString.BelongZone)}:"); |
| | | //zoneRow.SetTitle(curRoom.Name); |
| | |
| | | |
| | | var targetFL = new FrameLayout() |
| | | { |
| | | Y = Application.GetRealHeight(1040), |
| | | Y = infoFL.Bottom + Application.GetRealHeight(23),
|
| | | Height = Application.GetRealHeight(346) |
| | | }; |
| | | bodyFrameLayout.AddChidren(targetFL); |