| | |
| | | Tag = room.name + "row", |
| | | Width = Application.GetRealWidth(343), |
| | | Height = Application.GetRealHeight(92), |
| | | Radius = (uint)Application.GetRealWidth(12), |
| | | }; |
| | | roomsListView.AddChidren(roomRow); |
| | | |
| | | var btnBg = new Button() |
| | | var btnBg = new ImageView() |
| | | { |
| | | Y = Application.GetRealHeight(0-(350 - 92) / 2), |
| | | Height = Application.GetRealHeight(350), |
| | | UnSelectedImagePath = room.backgroundImage, |
| | | Y = Application.GetRealHeight(0-(192 - 92) / 2), |
| | | Height = Application.GetRealHeight(192), |
| | | ImagePath = room.backgroundImage, |
| | | Radius = (uint)Application.GetRealWidth(12), |
| | | }; |
| | | roomRow.AddChidren(btnBg); |
| | | |
| | |
| | | roomRow.AddChidren(btnRoomName); |
| | | |
| | | btnShadow.MouseUpEventHandler += (sender, e) => { |
| | | LoadEvent_SkipEditRoomPage(room,btnRoomName); |
| | | LoadEvent_SkipEditRoomPage(room,btnRoomName,btnBg); |
| | | }; |
| | | } |
| | | |