| | |
| | | |
| | | namespace HDL_ON.UI |
| | | { |
| | | |
| | | /* |
| | | 时间:20200915 |
| | | 删除分享操作,分享操作只在成员管理界面实现 |
| | | */ |
| | | |
| | | public partial class RoomEditPage : FrameLayout |
| | | { |
| | | #region 控件列表 |
| | |
| | | /// 房间楼层修改跳转按钮 |
| | | /// </summary> |
| | | Button btnFloorRight; |
| | | /// <summary> |
| | | /// 分享row |
| | | /// </summary> |
| | | FrameLayout sharedView; |
| | | /// <summary> |
| | | /// 分享标题 |
| | | /// </summary> |
| | | Button btnSharedTitle; |
| | | /// <summary> |
| | | /// 分享的信息 |
| | | /// </summary> |
| | | Button btnSharedInfo; |
| | | /// <summary> |
| | | /// 分享信息跳转按钮 |
| | | /// </summary> |
| | | Button btnSharedRight; |
| | | ///// <summary> |
| | | ///// 分享row |
| | | ///// </summary> |
| | | //FrameLayout sharedView; |
| | | ///// <summary> |
| | | ///// 分享标题 |
| | | ///// </summary> |
| | | //Button btnSharedTitle; |
| | | ///// <summary> |
| | | ///// 分享的信息 |
| | | ///// </summary> |
| | | //Button btnSharedInfo; |
| | | ///// <summary> |
| | | ///// 分享信息跳转按钮 |
| | | ///// </summary> |
| | | //Button btnSharedRight; |
| | | /// <summary> |
| | | /// 功能管理区域 |
| | | /// </summary> |
| | |
| | | roomInfoView.AddChidren(new Button() { X = Application.GetRealWidth(16), Height = Application.GetRealHeight(1), Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor }); |
| | | #endregion |
| | | #region 分享 |
| | | if (pageTitleId != StringId.AddRoom) |
| | | { |
| | | sharedView = new FrameLayout() |
| | | { |
| | | Height = Application.GetRealHeight(50), |
| | | }; |
| | | roomInfoView.AddChidren(sharedView); |
| | | rowCount++; |
| | | btnSharedTitle = new Button() |
| | | { |
| | | X = Application.GetRealWidth(16), |
| | | Width = Application.GetRealWidth(120), |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | TextID = StringId.Shared, |
| | | }; |
| | | sharedView.AddChidren(btnSharedTitle); |
| | | btnSharedInfo = new Button() |
| | | { |
| | | X = Application.GetRealWidth(100), |
| | | Width = Application.GetRealWidth(230), |
| | | TextAlignment = TextAlignment.CenterRight, |
| | | TextColor = CSS_Color.PromptingColor1, |
| | | TextSize = CSS_FontSize.TextFontSize, |
| | | }; |
| | | sharedView.AddChidren(btnSharedInfo); |
| | | btnSharedRight = new Button() |
| | | { |
| | | X = Application.GetRealWidth(339), |
| | | Gravity = Gravity.CenterVertical, |
| | | Width = Application.GetMinRealAverage(16), |
| | | Height = Application.GetMinRealAverage(16), |
| | | UnSelectedImagePath = "Public/Right.png", |
| | | }; |
| | | sharedView.AddChidren(btnSharedRight); |
| | | roomInfoView.AddChidren(new Button() { X = Application.GetRealWidth(16), Height = Application.GetRealHeight(1), Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor }); |
| | | } |
| | | //if (pageTitleId != StringId.AddRoom) |
| | | //{ |
| | | // sharedView = new FrameLayout() |
| | | // { |
| | | // Height = Application.GetRealHeight(50), |
| | | // }; |
| | | // roomInfoView.AddChidren(sharedView); |
| | | // rowCount++; |
| | | // btnSharedTitle = new Button() |
| | | // { |
| | | // X = Application.GetRealWidth(16), |
| | | // Width = Application.GetRealWidth(120), |
| | | // TextAlignment = TextAlignment.CenterLeft, |
| | | // TextColor = CSS_Color.FirstLevelTitleColor, |
| | | // TextSize = CSS_FontSize.SubheadingFontSize, |
| | | // TextID = StringId.Shared, |
| | | // }; |
| | | // sharedView.AddChidren(btnSharedTitle); |
| | | // btnSharedInfo = new Button() |
| | | // { |
| | | // X = Application.GetRealWidth(100), |
| | | // Width = Application.GetRealWidth(230), |
| | | // TextAlignment = TextAlignment.CenterRight, |
| | | // TextColor = CSS_Color.PromptingColor1, |
| | | // TextSize = CSS_FontSize.TextFontSize, |
| | | // }; |
| | | // sharedView.AddChidren(btnSharedInfo); |
| | | // btnSharedRight = new Button() |
| | | // { |
| | | // X = Application.GetRealWidth(339), |
| | | // Gravity = Gravity.CenterVertical, |
| | | // Width = Application.GetMinRealAverage(16), |
| | | // Height = Application.GetMinRealAverage(16), |
| | | // UnSelectedImagePath = "Public/Right.png", |
| | | // }; |
| | | // sharedView.AddChidren(btnSharedRight); |
| | | // roomInfoView.AddChidren(new Button() { X = Application.GetRealWidth(16), Height = Application.GetRealHeight(1), Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor }); |
| | | //} |
| | | |
| | | #endregion |
| | | #region 功能管理 |
| | | functionManagemantView = new FrameLayout() |