| | |
| | | {
|
| | | //图片
|
| | | var framePic = new FrameLayout();
|
| | | framePic.Width = Application.GetMinRealAverage(835);
|
| | | framePic.Height = Application.GetMinRealAverage(711);
|
| | | framePic.Width = this.GetPictrueRealSize(835);
|
| | | framePic.Height = this.GetPictrueRealSize(711);
|
| | | framePic.Gravity = Gravity.CenterHorizontal;
|
| | | framePic.Y = Application.GetRealHeight(115);
|
| | | bodyFrameLayout.AddChidren(framePic);
|
| | |
| | | framePic.AddChidren(btnPic);
|
| | |
|
| | | //按键指示灯亮起
|
| | | var btnGreanLinght = new NormalViewControl(Application.GetMinRealAverage(455), Application.GetMinRealAverage(45), false);
|
| | | btnGreanLinght.X = Application.GetMinRealAverage(374);
|
| | | btnGreanLinght.Y = Application.GetMinRealAverage(258);
|
| | | var btnGreanLinght = new NormalViewControl(this.GetPictrueRealSize(455), this.GetPictrueRealSize(45), false);
|
| | | btnGreanLinght.X = this.GetPictrueRealSize(374);
|
| | | btnGreanLinght.Y = this.GetPictrueRealSize(258);
|
| | | btnGreanLinght.TextAlignment = TextAlignment.Center;
|
| | | btnGreanLinght.TextColor = UserCenterColor.Current.TextGrayColor3;
|
| | | btnGreanLinght.TextSize = 10;
|
| | | btnGreanLinght.TextID = R.MyInternationalizationString.uPanelBackLightLighting;
|
| | | btnGreanLinght.TextID = R.MyInternationalizationString.uKeyIndicatorLightsUp;
|
| | | framePic.AddChidren(btnGreanLinght);
|
| | |
|
| | | //按住此按键
|
| | | var btnPress = new NormalViewControl(Application.GetMinRealAverage(230), Application.GetMinRealAverage(45), false);
|
| | | btnPress.X = Application.GetMinRealAverage(144);
|
| | | btnPress.Y = Application.GetMinRealAverage(275);
|
| | | var btnPress = new NormalViewControl(this.GetPictrueRealSize(230), this.GetPictrueRealSize(45), false);
|
| | | btnPress.X = this.GetPictrueRealSize(144);
|
| | | btnPress.Y = this.GetPictrueRealSize(279);
|
| | | btnPress.TextColor = UserCenterColor.Current.TextGrayColor3;
|
| | | btnPress.TextSize = 10;
|
| | | btnPress.TextID = R.MyInternationalizationString.uKeyIndicatorLightsUp;
|
| | | btnPress.TextID = R.MyInternationalizationString.uPressAndHoldThisKey;
|
| | | framePic.AddChidren(btnPress);
|
| | |
|
| | | //按住面板左上角按键,所有按键指示灯
|