From 7d9e5d946d08f0b53ff25d1c25dcf83efb68b734 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期二, 15 十二月 2020 09:08:59 +0800 Subject: [PATCH] 20201215-1 --- HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomsManagementPage.cs | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomsManagementPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomsManagementPage.cs index e32c1e8..f988d7b 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomsManagementPage.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomsManagementPage.cs @@ -49,6 +49,8 @@ /// </summary> void LoadRoomRow(Room room) { + roomsListView.AddChidren(new Button() { Height = Application.GetRealHeight(10) }); + var roomRow = new FrameLayout() { Tag = room.roomName + "row", @@ -56,10 +58,11 @@ }; roomsListView.AddChidren(roomRow); + var btnBg = new ImageView() { - Y = Application.GetRealHeight(10), - Height = Application.GetRealHeight(90), + Y = Application.GetRealHeight(-50), + Height = Application.GetRealHeight(192), Width = Application.GetRealWidth(343), //ImagePath = room.backgroundImage, Radius = (uint)Application.GetRealWidth(12), @@ -83,12 +86,19 @@ }; roomRow.AddChidren(btnRoomName); + var btn = new Button() + { + UnSelectedImagePath = "RoomListBg.png", + }; + roomRow.AddChidren(btn); + EventHandler<MouseEventArgs> eventHandler = (sender, e) => { LoadEvent_SkipEditRoomPage(room, btnRoomName, btnBg, roomRow); }; btnBg.MouseUpEventHandler = eventHandler; roomRow.MouseUpEventHandler = eventHandler; btnRoomName.MouseUpEventHandler = eventHandler; + btn.MouseUpEventHandler = eventHandler; } } -- Gitblit v1.8.0