| | |
| | | BackgroundImagePath = "PersonalCenter/UserTypebg.png", |
| | | }; |
| | | residenceInfoView.AddChidren(userTypeView); |
| | | if (Language.CurrentLanguage != "Chinese" && !DB_ResidenceData.Instance.CurrentRegion.IsOthreShare) |
| | | if (Language.CurrentLanguage != "Chinese" )//&& !DB_ResidenceData.Instance.CurrentRegion.isOtherShare) |
| | | { |
| | | userTypeView.X = Application.GetRealWidth(200); |
| | | userTypeView.Width = Application.GetRealWidth(180); |
| | |
| | | Y = Application.GetRealHeight(15), |
| | | Width = Application.GetMinRealAverage(20), |
| | | Height = Application.GetMinRealAverage(20), |
| | | UnSelectedImagePath = DB_ResidenceData.Instance.CurrentRegion.IsOthreShare |
| | | UnSelectedImagePath = DB_ResidenceData.Instance.CurrentRegion.isOtherShare |
| | | == false ? "PersonalCenter/AdminTypeIcon.png" : "PersonalCenter/MemberTypeIcon.png", |
| | | }; |
| | | userTypeView.AddChidren(btnUserTypeIcon); |
| | |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = CSS_Color.MainBackgroundColor, |
| | | TextSize = CSS_FontSize.PromptFontSize_FirstLevel, |
| | | TextID = DB_ResidenceData.Instance.CurrentRegion.IsOthreShare |
| | | TextID = DB_ResidenceData.Instance.CurrentRegion.isOtherShare |
| | | == false ? StringId.Administrators : StringId.Member |
| | | }; |
| | | userTypeView.AddChidren(btnUserTypeName); |
| | | #endregion |
| | | #region 住宅管理 |
| | | |
| | | if (!DB_ResidenceData.Instance.CurrentRegion.IsOthreShare) |
| | | if (!DB_ResidenceData.Instance.CurrentRegion.isOtherShare) |
| | | { |
| | | #region ---住宅管理区域 |
| | | residenceManageView = new FrameLayout() |