| | |
| | | {
|
| | | //图片
|
| | | var framePic = new FrameLayout();
|
| | | framePic.Width = Application.GetMinRealAverage(861);
|
| | | framePic.Height = Application.GetMinRealAverage(706);
|
| | | framePic.Width = this.GetPictrueRealSize(861);
|
| | | framePic.Height = this.GetPictrueRealSize(706);
|
| | | framePic.Gravity = Gravity.CenterHorizontal;
|
| | | framePic.Y = Application.GetRealHeight(135);
|
| | | bodyFrameLayout.AddChidren(framePic);
|
| | |
| | | framePic.AddChidren(btnPic);
|
| | |
|
| | | //绿色指示灯快速闪烁
|
| | | var btnGreanLinght = new NormalViewControl(Application.GetMinRealAverage(501), Application.GetMinRealAverage(45), false);
|
| | | btnGreanLinght.X = Application.GetMinRealAverage(357);
|
| | | btnGreanLinght.Y = Application.GetMinRealAverage(326);
|
| | | var btnGreanLinght = new NormalViewControl(this.GetPictrueRealSize(501), this.GetPictrueRealSize(45), false);
|
| | | btnGreanLinght.X = this.GetPictrueRealSize(357);
|
| | | btnGreanLinght.Y = this.GetPictrueRealSize(326);
|
| | | btnGreanLinght.TextAlignment = TextAlignment.Center;
|
| | | btnGreanLinght.TextColor = UserCenterColor.Current.TextGrayColor3;
|
| | | btnGreanLinght.TextSize = 10;
|
| | |
| | | {
|
| | | textMsg = string.Format(textMsg, "5");
|
| | | }
|
| | | var btnSecond2 = new NormalViewControl(Application.GetMinRealAverage(357), Application.GetMinRealAverage(45), false);
|
| | | btnSecond2.Y = Application.GetMinRealAverage(222);
|
| | | var btnSecond2 = new NormalViewControl(this.GetPictrueRealSize(357), this.GetPictrueRealSize(45), false);
|
| | | btnSecond2.Y = this.GetPictrueRealSize(222);
|
| | | btnSecond2.TextColor = UserCenterColor.Current.TextGrayColor3;
|
| | | btnSecond2.TextSize = 10;
|
| | | btnSecond2.TextAlignment = TextAlignment.Center;
|