| | |
| | | {
|
| | | var btnPic = new ImageView();
|
| | | btnPic.Y = Application.GetRealHeight(60);
|
| | | btnPic.Width = Application.GetMinRealAverage(887);
|
| | | btnPic.Height = Application.GetMinRealAverage(444);
|
| | | btnPic.Width = this.GetPictrueRealSize(887);
|
| | | btnPic.Height = this.GetPictrueRealSize(444);
|
| | | btnPic.Gravity = Gravity.CenterHorizontal;
|
| | | btnPic.Radius= (uint)Application.GetRealHeight(17);
|
| | | btnPic.ImageBytes = Shared.IO.FileUtils.ReadFile(i_file);
|
| | |
| | | btnText.TextAlignment = TextAlignment.TopLeft;
|
| | | btnText.TextColor = UserCenterColor.Current.TextColor1;
|
| | | btnText.Text = textValue;
|
| | | btnText.Enable = false;
|
| | | bodyFrameLayout.AddChidren(btnText);
|
| | | }
|
| | | }
|