| | |
| | |
|
| | | //用户图标
|
| | | var btnUserIcon = new ImageView();
|
| | | btnUserIcon.Height = Application.GetMinRealAverage(207);
|
| | | btnUserIcon.Width = Application.GetMinRealAverage(207);
|
| | | btnUserIcon.Radius = (uint)Application.GetMinRealAverage(207) / 2;
|
| | | btnUserIcon.Height = this.GetPictrueRealSize(207);
|
| | | btnUserIcon.Width = this.GetPictrueRealSize(207);
|
| | | btnUserIcon.Radius = (uint)this.GetPictrueRealSize(207) / 2;
|
| | | btnUserIcon.ImagePath = UserCenterResourse.UserInfo.UserIconFile;
|
| | | btnUserIcon.Y = Application.GetRealHeight(46);
|
| | | btnUserIcon.Gravity = Gravity.CenterHorizontal;
|
| | |
| | | var btnIcon = new ImageView();
|
| | | btnIcon.X = ControlCommonResourse.XXLeft;
|
| | | btnIcon.Gravity = Gravity.CenterVertical;
|
| | | btnIcon.Height = Application.GetMinRealAverage(115);
|
| | | btnIcon.Width = Application.GetMinRealAverage(115);
|
| | | btnIcon.Radius = (uint)Application.GetMinRealAverage(115) / 2;
|
| | | btnIcon.Height = this.GetPictrueRealSize(115);
|
| | | btnIcon.Width = this.GetPictrueRealSize(115);
|
| | | btnIcon.Radius = (uint)this.GetPictrueRealSize(115) / 2;
|
| | | if (System.IO.File.Exists(iconPath) == true)
|
| | | {
|
| | | btnIcon.ImagePath = iconPath;
|