wxr
2020-08-13 6a9ad7ec93218913a2ce3b898bb036f18f8f0da4
HDL_ON/UI/UI2/4-PersonalCenter/ResidentialManage/RoomEditPage.cs
@@ -144,7 +144,7 @@
        public void LoadPage()
        {
            bodyView.BackgroundColor = CSS_Color.BackgroundColor;
            if(pageTitleId == StringId.AddRoom)
            if (pageTitleId == StringId.AddRoom)
            {
                new TopViewDiv(bodyView, Language.StringByID(pageTitleId)).LoadTopView();
            }
@@ -289,41 +289,44 @@
            roomInfoView.AddChidren(new Button() { X = Application.GetRealWidth(16), Height = Application.GetRealHeight(1), Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor });
            #endregion
            #region 分享
            sharedView = new FrameLayout()
            if (pageTitleId != StringId.AddRoom)
            {
                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 });
                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()