File was renamed from HDL_ON/UI/UI2/4-PersonalCenter/ResidentialManage/RoomEditPage.cs |
| | |
| | | /// </summary> |
| | | FrameLayout roomBgView; |
| | | /// <summary> |
| | | /// 房间背景区域-房间名称提示 |
| | | /// </summary> |
| | | Button btnTipRoomName; |
| | | /// <summary> |
| | | /// 房间背景显示按钮 |
| | | /// </summary> |
| | | ImageView btnRoomBg; |
| | |
| | | roomBgView = new FrameLayout() |
| | | { |
| | | Y = Application.GetRealHeight(64), |
| | | Height = Application.GetRealHeight(246), |
| | | Height = Application.GetRealHeight(224), |
| | | BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | }; |
| | | bodyView.AddChidren(roomBgView); |
| | | |
| | | btnTipRoomName = new Button() |
| | | { |
| | | X = Application.GetRealWidth(16), |
| | | Width = Application.GetRealWidth(300), |
| | | Height = Application.GetRealHeight(46), |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | Text = room.name, |
| | | }; |
| | | roomBgView.AddChidren(btnTipRoomName); |
| | | |
| | | btnRoomBg = new ImageView() |
| | | { |
| | | Gravity = Gravity.CenterHorizontal, |
| | | Y = btnTipRoomName.Bottom, |
| | | Y = Application.GetRealWidth(20), |
| | | Width = Application.GetRealWidth(343), |
| | | Height = Application.GetRealHeight(184), |
| | | //UnSelectedImagePath = room.backgroundImage, |