| | |
| | | {
|
| | | //图片
|
| | | var framePic = new FrameLayout();
|
| | | framePic.Width = Application.GetMinRealAverage(858);
|
| | | framePic.Height = Application.GetMinRealAverage(850);
|
| | | framePic.Width = this.GetPictrueRealSize(858);
|
| | | framePic.Height = this.GetPictrueRealSize(850);
|
| | | framePic.Gravity = Gravity.CenterHorizontal;
|
| | | framePic.Y = Application.GetRealHeight(58);
|
| | | bodyFrameLayout.AddChidren(framePic);
|
| | |
| | | framePic.AddChidren(btnPic);
|
| | |
|
| | | //指示灯
|
| | | var btnLinght = new NormalViewControl(Application.GetMinRealAverage(100), Application.GetMinRealAverage(40), false);
|
| | | btnLinght.X = Application.GetMinRealAverage(487);
|
| | | btnLinght.Y = Application.GetMinRealAverage(202);
|
| | | var btnLinght = new NormalViewControl(this.GetPictrueRealSize(100), this.GetPictrueRealSize(40), false);
|
| | | btnLinght.X = this.GetPictrueRealSize(487);
|
| | | btnLinght.Y = this.GetPictrueRealSize(202);
|
| | | btnLinght.TextColor = UserCenterColor.Current.TextGrayColor3;
|
| | | btnLinght.TextSize = 8.45f;
|
| | | btnLinght.TextID = R.MyInternationalizationString.uPilotLamp;
|
| | | framePic.AddChidren(btnLinght);
|
| | |
|
| | | //工作
|
| | | var btnWork = new NormalViewControl(Application.GetMinRealAverage(70), Application.GetMinRealAverage(40), false);
|
| | | btnWork.X = Application.GetMinRealAverage(628);
|
| | | btnWork.Y = Application.GetMinRealAverage(113);
|
| | | var btnWork = new NormalViewControl(this.GetPictrueRealSize(70), this.GetPictrueRealSize(40), false);
|
| | | btnWork.X = this.GetPictrueRealSize(628);
|
| | | btnWork.Y = this.GetPictrueRealSize(113);
|
| | | btnWork.TextColor = UserCenterColor.Current.TextGrayColor3;
|
| | | btnWork.TextSize = 8.45f;
|
| | | btnWork.TextID = R.MyInternationalizationString.uWork;
|
| | | framePic.AddChidren(btnWork);
|
| | |
|
| | | //配对
|
| | | var btnPair = new NormalViewControl(Application.GetMinRealAverage(70), Application.GetMinRealAverage(40), false);
|
| | | btnPair.X = Application.GetMinRealAverage(628);
|
| | | btnPair.Y = Application.GetMinRealAverage(217);
|
| | | var btnPair = new NormalViewControl(this.GetPictrueRealSize(70), this.GetPictrueRealSize(40), false);
|
| | | btnPair.X = this.GetPictrueRealSize(628);
|
| | | btnPair.Y = this.GetPictrueRealSize(217);
|
| | | btnPair.TextColor = UserCenterColor.Current.TextGrayColor3;
|
| | | btnPair.TextSize = 8.45f;
|
| | | btnPair.TextID = R.MyInternationalizationString.uPair;
|
| | | framePic.AddChidren(btnPair);
|
| | |
|
| | | //红色指示灯闪烁
|
| | | var btnGreanLinght = new NormalViewControl(Application.GetMinRealAverage(455), Application.GetMinRealAverage(45), false);
|
| | | btnGreanLinght.X = Application.GetMinRealAverage(397);
|
| | | btnGreanLinght.Y = Application.GetMinRealAverage(295);
|
| | | var btnGreanLinght = new NormalViewControl(this.GetPictrueRealSize(455), this.GetPictrueRealSize(45), false);
|
| | | btnGreanLinght.X = this.GetPictrueRealSize(397);
|
| | | btnGreanLinght.Y = this.GetPictrueRealSize(295);
|
| | | btnGreanLinght.TextAlignment = TextAlignment.Center;
|
| | | btnGreanLinght.TextColor = UserCenterColor.Current.TextGrayColor3;
|
| | | btnGreanLinght.TextSize = 10;
|