| | |
| | | {
|
| | | //图片
|
| | | var framePic = new FrameLayout();
|
| | | framePic.Width = Application.GetMinRealAverage(873);
|
| | | framePic.Height = Application.GetMinRealAverage(665);
|
| | | framePic.Width = this.GetPictrueRealSize(873);
|
| | | framePic.Height = this.GetPictrueRealSize(665);
|
| | | framePic.Gravity = Gravity.CenterHorizontal;
|
| | | framePic.Y = Application.GetRealHeight(144);
|
| | | bodyFrameLayout.AddChidren(framePic);
|
| | |
| | | framePic.AddChidren(btnPic);
|
| | |
|
| | | //绿色指示灯缓慢闪烁
|
| | | var btnGreanLinght = new NormalViewControl(Application.GetMinRealAverage(449), Application.GetMinRealAverage(45), false);
|
| | | btnGreanLinght.X = Application.GetMinRealAverage(420);
|
| | | btnGreanLinght.Y = Application.GetMinRealAverage(343);
|
| | | var btnGreanLinght = new NormalViewControl(this.GetPictrueRealSize(449), this.GetPictrueRealSize(45), false);
|
| | | btnGreanLinght.X = this.GetPictrueRealSize(420);
|
| | | btnGreanLinght.Y = this.GetPictrueRealSize(343);
|
| | | btnGreanLinght.TextAlignment = TextAlignment.Center;
|
| | | btnGreanLinght.TextColor = UserCenterColor.Current.TextGrayColor3;
|
| | | btnGreanLinght.TextSize = 9;
|
| | |
| | | {
|
| | | textMsg = string.Format(textMsg, "5");
|
| | | }
|
| | | var btnSecond = new NormalViewControl(Application.GetMinRealAverage(400), Application.GetMinRealAverage(45), false);
|
| | | btnSecond.X = Application.GetMinRealAverage(478);
|
| | | btnSecond.Y = Application.GetMinRealAverage(568);
|
| | | var btnSecond = new NormalViewControl(this.GetPictrueRealSize(400), this.GetPictrueRealSize(45), false);
|
| | | btnSecond.X = this.GetPictrueRealSize(478);
|
| | | btnSecond.Y = this.GetPictrueRealSize(568);
|
| | | btnSecond.TextColor = UserCenterColor.Current.TextGrayColor3;
|
| | | btnSecond.TextSize = 9;
|
| | | btnSecond.Text = textMsg;
|