| | |
| | | /// 更新头像的回调函数 |
| | | /// </summary> |
| | | Action updataHeadImage; |
| | | /// <summary> |
| | | /// 更新用户名称的回调函数 |
| | | /// </summary> |
| | | Action updataUserName; |
| | | |
| | | public PersonalDataPage(Action upHeadImage) |
| | | public PersonalDataPage(Action upHeadImage,Action upUserName) |
| | | { |
| | | updataHeadImage = upHeadImage; |
| | | updataUserName = upUserName; |
| | | bodyView = this; |
| | | } |
| | | |
| | | public void LoadView() |
| | | { |
| | | bodyView.BackgroundColor = CSS_Color.BackgroundColor; |
| | | |
| | | new TopViewDiv(bodyView, Language.StringByID(StringId.PersonalCenter)).LoadTopView(); |
| | | //new PublicAssmebly().LoadTopView(bodyView, Language.StringByID(StringId.PersonalCenter)); |
| | | |
| | | headPortraitView = new FrameLayout() |
| | | { |
| | |
| | | TextAlignment = TextAlignment.TopLeft, |
| | | TextColor = CSS_Color.PromptingColor1, |
| | | TextSize = CSS_FontSize.TextFontSize, |
| | | TextID = StringId.InterpretationSettingsTip |
| | | TextID = StringId.AppUnlockSettingsTip |
| | | }; |
| | | interpretationSettingsView.AddChidren(btnInterpretationSettingsTip); |
| | | |
| | |
| | | }; |
| | | bodyView.AddChidren(btnLogout); |
| | | |
| | | if(MainPage.Increase) |
| | | { |
| | | btnLogout.Y = Application.GetRealHeight(613); |
| | | btnLogout.Height = Application.GetRealHeight(50); |
| | | } |
| | | |
| | | LoadEventList(); |
| | | } |
| | | |