| | |
| | | headPortraitView.AddChidren(btnMemberName); |
| | | |
| | | #region RoomList |
| | | FrameLayout contentView = new FrameLayout() |
| | | VerticalScrolViewLayout roomListView = new VerticalScrolViewLayout() |
| | | { |
| | | Y = Application.GetRealHeight(138), |
| | | Height = Application.GetRealHeight(485), |
| | | BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | Height = Application.GetRealHeight(471), |
| | | //BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | }; |
| | | bodyView.AddChidren(contentView); |
| | | bodyView.AddChidren(roomListView); |
| | | |
| | | var titleView = new FrameLayout() |
| | | { |
| | | BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | Height = Application.GetRealWidth(44), |
| | | }; |
| | | contentView.AddChidren(titleView); |
| | | roomListView.AddChidren(titleView); |
| | | |
| | | var btnTitle = new Button() |
| | | { |
| | |
| | | Height = Application.GetRealHeight(1), |
| | | BackgroundColor = CSS_Color.DividingLineColor, |
| | | }; |
| | | contentView.AddChidren(btnLine); |
| | | roomListView.AddChidren(btnLine); |
| | | |
| | | //--------------------------------------------- |
| | | var roomListView = new VerticalScrolViewLayout() |
| | | { |
| | | Y = btnLine.Bottom, |
| | | Height = Application.GetRealHeight(440), |
| | | }; |
| | | contentView.AddChidren(roomListView); |
| | | //var roomListView = new VerticalScrolViewLayout() |
| | | //{ |
| | | // Y = btnLine.Bottom, |
| | | // Height = Application.GetRealHeight(440), |
| | | //}; |
| | | //contentView.AddChidren(roomListView); |
| | | |
| | | //List<Function> funss = new List<Function>(); |
| | | //if (memberInfo.CurResidenceShareDate.Count > 0) |
| | |
| | | } |
| | | } |
| | | |
| | | if (DB_ResidenceData.rooms.Count > 10) |
| | | { |
| | | roomListView.ScrollEnabled = true; |
| | | } |
| | | else |
| | | { |
| | | roomListView.ScrollEnabled = false; |
| | | //if (DB_ResidenceData.rooms.Count > 10) |
| | | //{ |
| | | // roomListView.ScrollEnabled = true; |
| | | //} |
| | | //else |
| | | //{ |
| | | // roomListView.ScrollEnabled = false; |
| | | |
| | | roomListView.AddChidren(new Button() |
| | | { |
| | | Height = Application.GetRealWidth(441), |
| | | BackgroundColor = CSS_Color.BackgroundColor, |
| | | }); |
| | | } |
| | | // roomListView.AddChidren(new Button() |
| | | // { |
| | | // Height = Application.GetRealWidth(441), |
| | | // BackgroundColor = CSS_Color.BackgroundColor, |
| | | // }); |
| | | //} |
| | | #endregion |
| | | |
| | | btnDelMember = new Button() |