| | |
| | | { |
| | | bodyView.BackgroundColor = CSS_Color.BackgroundColor; |
| | | |
| | | new PublicAssmebly().LoadTopView(bodyView, Language.StringByID(InternationalizationString.PersonalCenter)); |
| | | new PublicAssmebly().LoadTopView(bodyView, Language.StringByID(StringId.PersonalCenter)); |
| | | |
| | | headPortraitView = new FrameLayout() |
| | | { |
| | |
| | | }; |
| | | bodyView.AddChidren(headPortraitView); |
| | | |
| | | btnHeadPortraitView = new Button(){ |
| | | btnHeadPortraitView = new Button() |
| | | { |
| | | Gravity = Gravity.Center, |
| | | Width = Application.GetMinRealAverage(84), |
| | | Height = Application.GetMinRealAverage(84), |
| | |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | TextID = InternationalizationString.Name, |
| | | TextID = StringId.Name, |
| | | }; |
| | | userNameView.AddChidren(btnUserName); |
| | | /// <summary> |
| | |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | TextID = InternationalizationString.MyQRcode, |
| | | TextID = StringId.MyQRcode, |
| | | }; |
| | | _QRcodeView.AddChidren(btnQRcode); |
| | | /// <summary> |
| | |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | TextID = InternationalizationString.BoundEmailInfo, |
| | | TextID = StringId.BoundEmailInfo, |
| | | }; |
| | | userEmailInfoView.AddChidren(btnUserEmailTilte); |
| | | /// <summary> |
| | |
| | | TextAlignment = TextAlignment.CenterRight, |
| | | TextColor = CSS_Color.PromptingColor1, |
| | | TextSize = CSS_FontSize.TextFontSize, |
| | | Text = string.IsNullOrEmpty(MainPage.LoginUser.UserEmailInfo )?Language.StringByID(InternationalizationString.Unbound):MainPage.LoginUser.UserEmailInfo |
| | | Text = string.IsNullOrEmpty(MainPage.LoginUser.UserEmailInfo) ? Language.StringByID(StringId.Unbound) : MainPage.LoginUser.UserEmailInfo |
| | | }; |
| | | userEmailInfoView.AddChidren(btnUserEmailInfo); |
| | | /// <summary> |
| | |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | TextID = InternationalizationString.BoundMobileInfo, |
| | | TextID = StringId.BoundMobileInfo, |
| | | }; |
| | | userPhoneInfoView.AddChidren(btnUserPhoneTitle); |
| | | /// <summary> |
| | |
| | | TextAlignment = TextAlignment.CenterRight, |
| | | TextColor = CSS_Color.PromptingColor1, |
| | | TextSize = CSS_FontSize.TextFontSize, |
| | | Text = string.IsNullOrEmpty(MainPage.LoginUser.UserMobileInfo) ? Language.StringByID(InternationalizationString.Unbound) : MainPage.LoginUser.UserMobileInfo |
| | | Text = string.IsNullOrEmpty(MainPage.LoginUser.UserMobileInfo) ? Language.StringByID(StringId.Unbound) : MainPage.LoginUser.UserMobileInfo |
| | | }; |
| | | userPhoneInfoView.AddChidren(btnUserPhoneInfo); |
| | | /// <summary> |
| | |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | TextID = InternationalizationString.ThirdPartyAuthorization, |
| | | TextID = StringId.ThirdPartyAuthorization, |
| | | }; |
| | | thirdPartyAuthorizationView.AddChidren(btnThirdPartyAuthorizationTitle); |
| | | btnThirdPartyAuthorizationRight = new Button() |
| | |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | TextID = InternationalizationString.ChangeLoginPassword, |
| | | TextID = StringId.ChangeLoginPassword, |
| | | }; |
| | | resetPasswordView.AddChidren(btnResetPasswordText); |
| | | btnResetPasswordRight = new Button() |
| | |
| | | TextAlignment = TextAlignment.BottomLeft, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | TextID = InternationalizationString.InterpretationSettings, |
| | | TextID = StringId.InterpretationSettings, |
| | | }; |
| | | interpretationSettingsView.AddChidren(btnInterpretationSettingsTitle); |
| | | btnInterpretationSettingsTip = new Button() |
| | |
| | | TextAlignment = TextAlignment.TopLeft, |
| | | TextColor = CSS_Color.PromptingColor1, |
| | | TextSize = CSS_FontSize.TextFontSize, |
| | | TextID = InternationalizationString.InterpretationSettingsTip |
| | | TextID = StringId.InterpretationSettingsTip |
| | | }; |
| | | interpretationSettingsView.AddChidren(btnInterpretationSettingsTip); |
| | | |
| | |
| | | TextAlignment = TextAlignment.Center, |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | TextColor = CSS_Color.AuxiliaryColor2, |
| | | TextID = InternationalizationString.Logout, |
| | | TextID = StringId.Logout, |
| | | BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | }; |
| | | bodyView.AddChidren(btnLogout); |