wxr
2020-09-15 673a93f4ed742a10a879a67b616e6646b03ef0fb
HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditPage.cs
@@ -5,6 +5,12 @@
namespace HDL_ON.UI
{
    /*
     时间:20200915
     删除分享操作,分享操作只在成员管理界面实现
     */
    public partial class RoomEditPage : FrameLayout
    {
        #region 控件列表
@@ -60,22 +66,22 @@
        /// 房间楼层修改跳转按钮
        /// </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>
@@ -273,44 +279,45 @@
            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()