| | |
| | | frame.Height = Application.GetRealHeight(1097);
|
| | | frame.BackgroundColor = UserCenterColor.Current.White;
|
| | | frame.Gravity = Gravity.Center;
|
| | | frame.Radius = 6;
|
| | | frame.Radius = (uint)Application.GetRealHeight(17);
|
| | | bodyFrameLayout.AddChidren(frame);
|
| | |
|
| | | //用户图标
|
| | |
| | | var btnUserIcon = new ImageView();
|
| | | btnUserIcon.Height = Application.GetMinRealAverage(207);
|
| | | btnUserIcon.Width = Application.GetMinRealAverage(207);
|
| | | btnUserIcon.Radius = (uint)Application.GetMinRealAverage(207) / 2;
|
| | | btnUserIcon.Y = Application.GetRealHeight(104);
|
| | | btnUserIcon.Gravity = Gravity.CenterHorizontal;
|
| | | if (System.IO.File.Exists(iconPath) == true)
|
| | |
| | |
|
| | | //昵称
|
| | | var btnName = new NormalViewControl(frame.Width, Application.GetRealHeight(55), false);
|
| | | btnName.IsBold = true;
|
| | | btnName.TextAlignment = TextAlignment.Center;
|
| | | btnName.Y = Application.GetRealHeight(334);
|
| | | btnName.TextColor = UserCenterColor.Current.TextColor2;
|
| | |
| | |
|
| | | //家族成员添加成功
|
| | | var btnSuccess = new NormalViewControl(frame.Width, Application.GetRealHeight(82), false);
|
| | | btnSuccess.IsBold = true;
|
| | | btnSuccess.Y = Application.GetRealHeight(547);
|
| | | btnSuccess.TextAlignment = TextAlignment.Center;
|
| | | btnSuccess.TextID = R.MyInternationalizationString.uAddMemberSuccess;
|