| | |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | Visible = false, |
| | | }; |
| | | |
| | | /// <summary> |
| | | /// (条件或者目标)设备状态文本描述 |
| | | /// </summary> |
| | | public Button btnState = new Button |
| | | { |
| | | TextSize = TextSize.text12, |
| | | Width = Application.GetRealWidth(130), |
| | | Height = Application.GetRealHeight(17), |
| | | TextColor = CSS.CSS_Color.textCancelColor, |
| | | Y = Application.GetRealHeight(17), |
| | | X = Application.GetRealWidth(375-48-130), |
| | | TextAlignment = TextAlignment.CenterRight, |
| | | Visible=false, |
| | | }; |
| | | /// <summary> |
| | | /// 图标 |
| | | /// </summary> |
| | |
| | | frameLayout.AddChidren(btnText); |
| | | frameLayout.AddChidren(btnDeviceName); |
| | | frameLayout.AddChidren(btnRoomName); |
| | | frameLayout.AddChidren(btnState); |
| | | frameLayout.AddChidren(btnNextIcon); |
| | | btnLine.Y = frameLayout.Height - 1; |
| | | frameLayout.AddChidren(btnLine); |