wxr
2020-01-18 4cc04639fbadde3a7f3b9875353df0d90fc09043
HDL_ON/UI/UI2/2-Classification/UI/ClassificationPage.cs
@@ -84,7 +84,7 @@
                TextSize = CSS_FontSize.HeadlineFontSize,
                TextColor = CSS_Color.PromptingColor1,
                SelectedTextColor = CSS_Color.MainColor,
                TextID = InternationalizationString.Rooms,
                TextID = StringId.Rooms,
                IsSelected = true
            };
            topView.AddChidren(btnRoomTilte);
@@ -99,7 +99,7 @@
                TextSize = CSS_FontSize.TextFontSize,
                TextColor = CSS_Color.PromptingColor1,
                SelectedTextColor = CSS_Color.MainColor,
                TextID = InternationalizationString.Devices,
                TextID = StringId.Devices,
            };
            topView.AddChidren(btnFuncTitle);
@@ -111,7 +111,8 @@
            /// <summary>
            /// 房间内容显示区域
            /// </summary>
            roomContentView = new FrameLayout() {
            roomContentView = new FrameLayout()
            {
                Y = Application.GetRealHeight(64),
                Height = Application.GetRealHeight(52),
                BackgroundColor = CSS_Color.MainBackgroundColor,
@@ -121,7 +122,8 @@
            /// <summary>
            /// 房间区域,顶部区域
            /// </summary>
            roomTopView = new FrameLayout() {
            roomTopView = new FrameLayout()
            {
                Height = Application.GetRealHeight(53),
            };
            roomContentView.AddChidren(roomTopView);
@@ -142,27 +144,28 @@
            /// </summary>
            btnFoor = new Button()
            {
                 X=btnFoorDownIcon.Right,
                 Y = Application.GetRealHeight(18),
                 Width = Application.GetRealWidth(200),
                X = btnFoorDownIcon.Right,
                Y = Application.GetRealHeight(18),
                Width = Application.GetRealWidth(200),
                Height = Application.GetMinRealAverage(16),
                 TextColor = CSS_Color.FirstLevelTitleColor,
                TextColor = CSS_Color.FirstLevelTitleColor,
                TextSize = CSS_FontSize.PromptFontSize_FirstLevel,
                 TextAlignment = TextAlignment.CenterLeft,
                 Text = UserConfig.Instance.CurFoor,
                TextAlignment = TextAlignment.CenterLeft,
                Text = UserConfig.Instance.CurFoor,
            };
            roomContentView.AddChidren(btnFoor);
            /// <summary>
            /// 显示方式切换按钮
            /// </summary>
            btnSwitchDipaly = new Button() {
            btnSwitchDipaly = new Button()
            {
                X = Application.GetRealWidth(335),
                Y = Application.GetRealHeight(12),
                Width = Application.GetMinRealAverage(28),
                Height = Application.GetMinRealAverage(28),
                UnSelectedImagePath = "Classification/ToggleDisplayThumbnail.png",//缩略图
                SelectedImagePath = "Classification/ToggleDisplayLarge.png",
            } ;
            };
            roomContentView.AddChidren(btnSwitchDipaly);
            #endregion
@@ -170,9 +173,10 @@
            /// <summary>
            /// 房间列表区域
            /// </summary>
            roomListView = new VerticalScrolViewLayout() {
            roomListView = new VerticalScrolViewLayout()
            {
                Y = roomContentView.Bottom,
                Height = Application.GetRealHeight(497+10),
                Height = Application.GetRealHeight(497 + 10),
                BackgroundColor = CSS_Color.MainBackgroundColor,
            };
            bodyView.AddChidren(roomListView);
@@ -200,7 +204,7 @@
                    BackgroundImagePath = room.backgroundImage
                };
                roomListView.AddChidren(roomView);
                roomViewList.Add(roomView);