| | |
| | | { |
| | | Y = roomFloorChangeView.Bottom, |
| | | Height = Application.GetRealHeight(497 + 10 + 30), |
| | | BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | //BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | }; |
| | | roomPageView.AddChidren(roomListView); |
| | | LoadRoomRows(); |
| | |
| | | Gravity = Gravity.CenterHorizontal, |
| | | Width = Application.GetRealWidth(343), |
| | | Height = Application.GetRealHeight(184), |
| | | Radius = (uint)Application.GetRealHeight(12), |
| | | BorderColor = 0x00000000, |
| | | BorderWidth = 1, |
| | | Radius = (uint)Application.GetRealWidth(12), |
| | | BackgroundColor = 0xFFFF0000, |
| | | Tag = room.sid, |
| | | }; |
| | | roomListView.AddChidren(roomView); |
| | | |
| | | var roomViewbg = new Button() |
| | | var roomViewbg = new ImageView() |
| | | { |
| | | UnSelectedImagePath = room.backgroundImage, |
| | | Width = Application.GetRealWidth(343), |
| | | Height = Application.GetRealHeight(184), |
| | | ImagePath = room.backgroundImage, |
| | | Radius = (uint)Application.GetRealWidth(12), |
| | | }; |
| | | roomView.AddChidren(roomViewbg); |
| | | |
| | | var roomViewbgColor = new Button() |
| | | { |
| | | Radius = (uint)Application.GetRealWidth(12), |
| | | BackgroundColor = 0x19333333, |
| | | }; |
| | | roomView.AddChidren(roomViewbgColor); |
| | |
| | | FrameLayout functionView = new FrameLayout() |
| | | { |
| | | Height = Application.GetRealWidth(161), |
| | | Radius = (uint)Application.GetRealHeight(6), |
| | | Radius = (uint)Application.GetRealWidth(6), |
| | | BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | Tag = item + "_View", |
| | | Y = index % 2 == 1 ? lastY2 : lastY1 |