| | |
| | | bodyFrameLayout.AddChidren(frame);
|
| | |
|
| | | //用户图标
|
| | | string iconPath = System.IO.Path.Combine(UserCenterResourse.Option.UserPictruePath, memberInfo.DistributedMark + ".png");
|
| | | string iconPath = System.IO.Path.Combine(UserCenterResourse.AccountOption.UserPictruePath, memberInfo.DistributedMark + ".png");
|
| | | var btnUserIcon = new ImageView();
|
| | | btnUserIcon.Height = Application.GetMinRealAverage(207);
|
| | | btnUserIcon.Width = Application.GetMinRealAverage(207);
|
| | |
| | | btnAuthority.TextSize = 12;
|
| | | btnAuthority.Y = btnUserIcon.Bottom + Application.GetRealHeight(23);
|
| | | btnAuthority.Gravity = Gravity.CenterHorizontal;
|
| | | btnAuthority.TextColor = UserCenterColor.Current.TextGrayColor;
|
| | | btnAuthority.TextColor = UserCenterColor.Current.TextGrayColor1;
|
| | | btnAuthority.TextID = R.MyInternationalizationString.uMember;
|
| | | if (memberInfo.AccountType == 1)
|
| | | {
|
| | |
| | | private void InitInfoList()
|
| | | {
|
| | | //标题:成员权限
|
| | | var btnMenberTile = new DetailTitleControl(800, 60, true);
|
| | | var btnMenberTile = new NormalViewControl(800, 60, true);
|
| | | btnMenberTile.X = ControlCommonResourse.XXLeft;
|
| | | btnMenberTile.Y = Application.GetRealHeight(418);
|
| | | btnMenberTile.TextColor = UserCenterColor.Current.TextColor2;
|
| | |
| | | if (infoResult.HeadImage != null)
|
| | | {
|
| | | //写入头像内容
|
| | | string iconPath = System.IO.Path.Combine(UserCenterResourse.Option.UserPictruePath, memberInfo.DistributedMark + ".png");
|
| | | string iconPath = System.IO.Path.Combine(UserCenterResourse.AccountOption.UserPictruePath, memberInfo.DistributedMark + ".png");
|
| | | Shared.IO.FileUtils.WriteFileByBytes(iconPath, infoResult.HeadImage);
|
| | | HdlThreadLogic.Current.RunMain(() =>
|
| | | {
|