| | |
| | | public void LoadView() |
| | | { |
| | | bodyView.BackgroundColor = CSS_Color.BackgroundColor; |
| | | new TopViewDiv(bodyView, Language.StringByID(StringId.PersonalCenter)).LoadTopView(); |
| | | var topView = new TopViewDiv(bodyView, Language.StringByID(StringId.PersonalCenter)); |
| | | topView.maginY = 10; |
| | | topView.LoadTopView(); |
| | | |
| | | bodyScrolView = new VerticalScrolViewLayout() |
| | | { |
| | | Y = Application.GetRealHeight(64), |
| | | Y = Application.GetRealHeight(64+10), |
| | | VerticalScrollBarEnabled = false, |
| | | Height = Application.GetRealHeight(551), |
| | | Height = Application.GetRealHeight(551-10), |
| | | }; |
| | | bodyView.AddChidren(bodyScrolView); |
| | | |
| | |
| | | }; |
| | | headPortraitView.AddChidren(userHeadImageView); |
| | | |
| | | #region 个人信息选项区域 |
| | | #region 个人信息选项区域 |
| | | var topPaddingView = new FrameLayout() |
| | | { |
| | | Height = Application.GetRealHeight(8) |
| | |
| | | optionListView.Height = Application.GetRealHeight(51 * (6 + addRow)); |
| | | |
| | | |
| | | #region 个人选项-名字区域 |
| | | #region 个人选项-名字区域 |
| | | /// <summary> |
| | | /// 个人选项-名字区域 |
| | | /// </summary> |
| | |
| | | }; |
| | | userNameView.AddChidren(btnEditUserNameIcon); |
| | | optionListView.AddChidren(new Button() { X = Application.GetRealWidth(16), Height = Application.GetRealHeight(1), Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor }); |
| | | #endregion |
| | | #region 个人选项-二维码区域 |
| | | #endregion |
| | | #region 个人选项-二维码区域 |
| | | /// <summary> |
| | | /// 个人选项-二维码区域 |
| | | /// </summary> |
| | |
| | | UnSelectedImagePath = "Public/Right.png", |
| | | }; |
| | | _QRcodeView.AddChidren(btnQRcodeRight); |
| | | #endregion |
| | | #region 个人选项-邮箱信息区域 |
| | | #endregion |
| | | #region 个人选项-邮箱信息区域 |
| | | /// <summary> |
| | | /// 个人选项-邮箱信息区域 |
| | | /// </summary> |
| | |
| | | }; |
| | | userEmailInfoView.AddChidren(btnUserEmailRight); |
| | | optionListView.AddChidren(new Button() { X = Application.GetRealWidth(16), Height = Application.GetRealHeight(1), Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor }); |
| | | #endregion |
| | | #endregion |
| | | #region 个人选项-手机信息区域 |
| | | /// <summary> |
| | | /// 个人选项-手机信息区域 |
| | |
| | | logOffView.BtnTilte.Text = Language.StringByID(StringId.CancelAccount); |
| | | logOffView.LineView.RemoveFromParent(); |
| | | |
| | | #endregion |
| | | #endregion |
| | | |
| | | bodyView.AddChidren(new Button() |
| | | { |
| | | Y = Application.GetRealHeight(622), |
| | | Height = 1, |
| | | BackgroundColor = CSS_Color.DividingLineColor, |
| | | }); |
| | | |
| | | btnLogout = new Button() |
| | | { |