| | |
| | | //清空bodyFrame
|
| | | this.ClearBodyFrame();
|
| | |
|
| | | string iconPath = System.IO.Path.Combine(UserCenterResourse.Option.UserPictruePath, memberResult.DistributedMark + ".png");
|
| | | //写入头像内容
|
| | | Shared.IO.FileUtils.WriteFileByBytes(iconPath, memberResult.HeadImage);
|
| | |
|
| | | //头像
|
| | | var btnIcon = new PicViewControl(207, 207);
|
| | | btnIcon.UnSelectedImagePath = "Center/Admin.png";
|
| | | btnIcon.Y = Application.GetRealHeight(219);
|
| | | btnIcon.Gravity = Gravity.CenterHorizontal;
|
| | | bodyFrameLayout.AddChidren(btnIcon);
|
| | | var btnUserIcon = new ImageView();
|
| | | btnUserIcon.Height = Application.GetMinRealAverage(207);
|
| | | btnUserIcon.Width = Application.GetMinRealAverage(207);
|
| | | btnUserIcon.Radius = (uint)Application.GetMinRealAverage(207) / 2;
|
| | | btnUserIcon.ImagePath = iconPath;
|
| | | btnUserIcon.Y = Application.GetRealHeight(219);
|
| | | btnUserIcon.Gravity = Gravity.CenterHorizontal;
|
| | | bodyFrameLayout.AddChidren(btnUserIcon);
|
| | |
|
| | | //成员ID
|
| | | var btnUserId = new NormalViewControl(800, 50, true);
|