| | |
| | | Width = Application.GetRealWidth(343), |
| | | Height = Application.GetRealWidth(192),//2020-12-01 房间图片比例改回16:9 |
| | | Radius = (uint)Application.GetRealWidth(12), |
| | | Tag = room.uid, |
| | | Tag = room.roomId, |
| | | }; |
| | | roomListView.AddChidren(roomView); |
| | | |
| | |
| | | { |
| | | Width = Application.GetRealWidth(343), |
| | | Height = Application.GetRealWidth(192),//2020-12-01 房间图片比例改回16:9 |
| | | ImagePath = room.backgroundImage, |
| | | //ImagePath = room.backgroundImage, |
| | | Radius = (uint)Application.GetRealWidth(12), |
| | | }; |
| | | roomView.AddChidren(roomViewbg); |
| | | |
| | | //2020-12-03 修改图片加载方法 |
| | | ImageUtlis.Current.LoadLocalOrNetworkImages(room.backgroundImage, roomViewbg); |
| | | |
| | | var roomViewbgColor = new Button() |
| | | { |
| | | Radius = (uint)Application.GetRealWidth(12), |