| | |
| | | {
|
| | | //图片
|
| | | var framePic = new FrameLayout();
|
| | | framePic.Width = Application.GetMinRealAverage(860);
|
| | | framePic.Height = Application.GetMinRealAverage(714);
|
| | | framePic.Width = this.GetPictrueRealSize(860);
|
| | | framePic.Height = this.GetPictrueRealSize(714);
|
| | | framePic.Gravity = Gravity.CenterHorizontal;
|
| | | framePic.Y = Application.GetRealHeight(130);
|
| | | bodyFrameLayout.AddChidren(framePic);
|
| | |
| | | framePic.AddChidren(btnPic);
|
| | |
|
| | | //指示灯变绿、闪烁
|
| | | var btnGreanLinght = new NormalViewControl(Application.GetMinRealAverage(455), Application.GetMinRealAverage(45), false);
|
| | | btnGreanLinght.X = Application.GetMinRealAverage(398);
|
| | | btnGreanLinght.Y = Application.GetMinRealAverage(300);
|
| | | var btnGreanLinght = new NormalViewControl(this.GetPictrueRealSize(455), this.GetPictrueRealSize(45), false);
|
| | | btnGreanLinght.X = this.GetPictrueRealSize(398);
|
| | | btnGreanLinght.Y = this.GetPictrueRealSize(300);
|
| | | btnGreanLinght.TextAlignment = TextAlignment.Center;
|
| | | btnGreanLinght.TextColor = UserCenterColor.Current.TextGrayColor3;
|
| | | btnGreanLinght.TextSize = 10;
|
| | |
| | | framePic.AddChidren(btnGreanLinght);
|
| | |
|
| | | //指示灯
|
| | | var btnLinght = new NormalViewControl(Application.GetMinRealAverage(250), Application.GetMinRealAverage(45), false);
|
| | | btnLinght.X = Application.GetMinRealAverage(398);
|
| | | btnLinght.Y = Application.GetMinRealAverage(642);
|
| | | var btnLinght = new NormalViewControl(this.GetPictrueRealSize(250), this.GetPictrueRealSize(45), false);
|
| | | btnLinght.X = this.GetPictrueRealSize(398);
|
| | | btnLinght.Y = this.GetPictrueRealSize(642);
|
| | | btnLinght.TextColor = UserCenterColor.Current.TextGrayColor3;
|
| | | btnLinght.TextSize = 10;
|
| | | btnLinght.TextID = R.MyInternationalizationString.uPilotLamp;
|
| | | framePic.AddChidren(btnLinght);
|
| | |
|
| | | //针孔式重置按键
|
| | | var btnReset = new NormalViewControl(Application.GetMinRealAverage(250), Application.GetMinRealAverage(45), false);
|
| | | btnReset.X = Application.GetMinRealAverage(512);
|
| | | btnReset.Y = Application.GetMinRealAverage(512);
|
| | | var btnReset = new NormalViewControl(this.GetPictrueRealSize(250), this.GetPictrueRealSize(45), false);
|
| | | btnReset.X = this.GetPictrueRealSize(512);
|
| | | btnReset.Y = this.GetPictrueRealSize(512);
|
| | | btnReset.TextColor = UserCenterColor.Current.TextGrayColor3;
|
| | | btnReset.TextSize = 10;
|
| | | btnReset.TextID = R.MyInternationalizationString.uPinholeTypeResetButton;
|