| | |
| | | /// <summary> |
| | | /// 房间背景显示按钮 |
| | | /// </summary> |
| | | Button btnRoomBg; |
| | | ImageView btnRoomBg; |
| | | /// <summary> |
| | | /// 房间信息编辑区域 |
| | | /// </summary> |
| | |
| | | }; |
| | | roomBgView.AddChidren(btnTipRoomName); |
| | | |
| | | btnRoomBg = new Button() |
| | | btnRoomBg = new ImageView() |
| | | { |
| | | Gravity = Gravity.CenterHorizontal, |
| | | Y = btnTipRoomName.Bottom, |
| | | Width = Application.GetRealWidth(343), |
| | | Height = Application.GetRealHeight(184), |
| | | UnSelectedImagePath = room.backgroundImage, |
| | | Radius = (uint)Application.GetRealWidth(6), |
| | | //UnSelectedImagePath = room.backgroundImage, |
| | | ImagePath = room.backgroundImage, |
| | | Radius = (uint)Application.GetRealWidth(12), |
| | | //Radius = (uint)Application.GetRealWidth(6), |
| | | }; |
| | | roomBgView.AddChidren(btnRoomBg); |
| | | |
| | |
| | | BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | TextAlignment = TextAlignment.Center, |
| | | TextColor = this.pageTitleId == StringId.AddRoom ? CSS_Color.MainColor : CSS_Color.WarningColor, |
| | | TextID = this.pageTitleId == StringId.AddRoom ? StringId.Save : StringId.DeleteRoom |
| | | TextID = this.pageTitleId == StringId.AddRoom ? StringId.Save : StringId.DeleteRoom, |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | }; |
| | | bodyView.AddChidren(btnOption); |
| | | |