| | |
| | | {
|
| | | //图片
|
| | | var framePic = new FrameLayout();
|
| | | framePic.Width = Application.GetMinRealAverage(988);
|
| | | framePic.Height = Application.GetMinRealAverage(775);
|
| | | framePic.Width = this.GetPictrueRealSize(988);
|
| | | framePic.Height = this.GetPictrueRealSize(775);
|
| | | framePic.Gravity = Gravity.CenterHorizontal;
|
| | | framePic.Y = Application.GetRealHeight(78);
|
| | | bodyFrameLayout.AddChidren(framePic);
|
| | |
| | | framePic.AddChidren(btnPic);
|
| | |
|
| | | //指示灯
|
| | | var btnLinght = new NormalViewControl(Application.GetMinRealAverage(200), Application.GetMinRealAverage(45), false);
|
| | | btnLinght.X = Application.GetMinRealAverage(173);
|
| | | btnLinght.Y = Application.GetMinRealAverage(266);
|
| | | var btnLinght = new NormalViewControl(this.GetPictrueRealSize(200), this.GetPictrueRealSize(45), false);
|
| | | btnLinght.X = this.GetPictrueRealSize(173);
|
| | | btnLinght.Y = this.GetPictrueRealSize(266);
|
| | | btnLinght.TextColor = UserCenterColor.Current.TextGrayColor3;
|
| | | btnLinght.TextSize = 10;
|
| | | btnLinght.TextID = R.MyInternationalizationString.uPilotLamp;
|
| | |
| | | {
|
| | | textMsg = string.Format(textMsg, "5");
|
| | | }
|
| | | var btnSecond = new NormalViewControl(Application.GetMinRealAverage(550), Application.GetMinRealAverage(45), false);
|
| | | btnSecond.X = Application.GetMinRealAverage(435);
|
| | | btnSecond.Y = Application.GetMinRealAverage(120);
|
| | | var btnSecond = new NormalViewControl(this.GetPictrueRealSize(550), this.GetPictrueRealSize(45), false);
|
| | | btnSecond.X = this.GetPictrueRealSize(435);
|
| | | btnSecond.Y = this.GetPictrueRealSize(120);
|
| | | btnSecond.TextColor = UserCenterColor.Current.TextGrayColor3;
|
| | | btnSecond.TextAlignment = TextAlignment.Center;
|
| | | btnSecond.TextSize = 10;
|
| | |
| | | framePic.AddChidren(btnSecond);
|
| | |
|
| | | //绿色指示灯闪烁
|
| | | var btnGreanLinght = new NormalViewControl(Application.GetMinRealAverage(550), Application.GetMinRealAverage(45), false);
|
| | | btnGreanLinght.X = Application.GetMinRealAverage(435);
|
| | | btnGreanLinght.Y = Application.GetMinRealAverage(400);
|
| | | var btnGreanLinght = new NormalViewControl(this.GetPictrueRealSize(550), this.GetPictrueRealSize(45), false);
|
| | | btnGreanLinght.X = this.GetPictrueRealSize(435);
|
| | | btnGreanLinght.Y = this.GetPictrueRealSize(400);
|
| | | btnGreanLinght.TextAlignment = TextAlignment.Center;
|
| | | btnGreanLinght.TextColor = UserCenterColor.Current.TextGrayColor3;
|
| | | btnGreanLinght.TextSize = 10;
|
| | |
| | | framePic.AddChidren(btnGreanLinght);
|
| | |
|
| | | //逆时针拧开电池后盖
|
| | | var btnBattery = new NormalViewControl(Application.GetMinRealAverage(550), Application.GetMinRealAverage(50), false);
|
| | | btnBattery.X = Application.GetMinRealAverage(455);
|
| | | btnBattery.Y = Application.GetMinRealAverage(622);
|
| | | var btnBattery = new NormalViewControl(this.GetPictrueRealSize(550), this.GetPictrueRealSize(50), false);
|
| | | btnBattery.X = this.GetPictrueRealSize(455);
|
| | | btnBattery.Y = this.GetPictrueRealSize(622);
|
| | | btnBattery.TextColor = UserCenterColor.Current.TextGrayColor3;
|
| | | btnBattery.TextSize = 12;
|
| | | btnBattery.TextID = R.MyInternationalizationString.uUnscrewTheBatteryAnticlockwise;
|