| | |
| | | }; |
| | | dispalyView.AddChidren(contentView); |
| | | |
| | | if (UserInfo.Current.regionList.Count < 3) |
| | | if (UserInfo.Current.regionList.Count < 2) |
| | | { |
| | | |
| | | } |
| | | else if (UserInfo.Current.regionList.Count < 3) |
| | | { |
| | | dispalyView = new FrameLayout() |
| | | { |
| | | X = Application.GetRealWidth(10), |
| | | Y = Application.GetRealHeight(268), |
| | | Width = Application.GetRealWidth(160), |
| | | Height = Application.GetRealHeight(105), |
| | | BackgroundImagePath = "PersonalCenter/HomeList1bg.png", |
| | | }; |
| | | dialogBody.AddChidren(dispalyView); |
| | | |
| | | contentView.Height = Application.GetRealHeight(45 * 2); |
| | | dispalyView.AddChidren(contentView); |
| | | } |
| | | else if (UserInfo.Current.regionList.Count < 4) |
| | | { |