| | |
| | | { |
| | | Y = btnTitle.Bottom + Application.GetRealHeight(16), |
| | | Width = Application.GetRealWidth(240), |
| | | Height = Application.GetRealHeight(1095),//遥控器固定高度 |
| | | Height = Application.GetRealHeight(1095-122),//遥控器固定高度 |
| | | Radius = (uint)Application.GetRealHeight(17), |
| | | BackgroundColor = 0xff798394, |
| | | Gravity = Gravity.CenterHorizontal, |
| | |
| | | Y = btnTitle.Bottom + Application.GetRealHeight(16), |
| | | //X = Application.GetRealWidth(71), |
| | | Width = Application.GetRealWidth(232), |
| | | Height = Application.GetRealHeight(1095),//遥控器固定高度 |
| | | Height = Application.GetRealHeight(1095-122),//遥控器固定高度 |
| | | Radius = (uint)Application.GetRealHeight(17), |
| | | BackgroundColor = 0xff19181E, |
| | | Gravity = Gravity.CenterHorizontal, |
| | |
| | | switchBtn.IsSelected = false; |
| | | }; |
| | | |
| | | int h = 49; |
| | | int h = 49-6; |
| | | int offset = 28;//x轴偏移量 |
| | | int septal = 36;//间隔 |
| | | #region |
| | |
| | | |
| | | var line2Fl = new FrameLayout |
| | | { |
| | | Y = line1Fl.Bottom + Application.GetRealHeight(16), |
| | | Y = line1Fl.Bottom + Application.GetRealHeight(8), |
| | | Height = Application.GetRealHeight(h), |
| | | }; |
| | | layout.AddChidren(line2Fl); |
| | |
| | | |
| | | var line3Fl = new FrameLayout |
| | | { |
| | | Y = line2Fl.Bottom + Application.GetRealHeight(16), |
| | | Y = line2Fl.Bottom + Application.GetRealHeight(8), |
| | | Height = Application.GetRealHeight(h), |
| | | }; |
| | | layout.AddChidren(line3Fl); |
| | |
| | | |
| | | var line4Fl = new FrameLayout |
| | | { |
| | | Y = line3Fl.Bottom + Application.GetRealHeight(16), |
| | | Y = line3Fl.Bottom + Application.GetRealHeight(8), |
| | | Height = Application.GetRealHeight(h), |
| | | }; |
| | | layout.AddChidren(line4Fl); |
| | |
| | | |
| | | var line8Fl = new FrameLayout |
| | | { |
| | | Y = line7Fl.Bottom + Application.GetRealHeight(32), |
| | | Y = line7Fl.Bottom + Application.GetRealHeight(16), |
| | | Height = Application.GetRealHeight(h), |
| | | }; |
| | | layout.AddChidren(line8Fl); |
| | |
| | | var baseFl = new BaseFramLayout |
| | | { |
| | | Y = line8Fl.Bottom, |
| | | Height = Application.GetRealHeight(207), |
| | | Height = Application.GetRealHeight(207-32-12), |
| | | }; |
| | | layout.AddChidren(baseFl); |
| | | |
| | | |
| | | btnYingliangjia = new Button |
| | | { |
| | | Y = Application.GetRealHeight(32), |
| | | Y = Application.GetRealHeight(16), |
| | | X = Application.GetRealWidth(26), |
| | | Width = Application.GetRealWidth(36), |
| | | Height = Application.GetRealWidth(36), |
| | |
| | | |
| | | btnPindaojia = new Button |
| | | { |
| | | Y = Application.GetRealHeight(32), |
| | | Y = Application.GetRealHeight(16), |
| | | X = Application.GetRealWidth(170), |
| | | Width = Application.GetRealWidth(36), |
| | | Height = Application.GetRealWidth(36), |
| | |
| | | |
| | | okFl = new FrameLayout |
| | | { |
| | | Y = Application.GetRealHeight(32), |
| | | Y = Application.GetRealHeight(16), |
| | | Height = Application.GetRealWidth(143), |
| | | Width = Application.GetRealWidth(143), |
| | | BackgroundImagePath = "AksIcon/ykq_ok.png", |
| | |
| | | |
| | | var line10Fl = new FrameLayout |
| | | { |
| | | Y = line9Fl.Bottom + Application.GetRealHeight(16), |
| | | Y = line9Fl.Bottom + Application.GetRealHeight(8), |
| | | Height = Application.GetRealHeight(h), |
| | | }; |
| | | layout.AddChidren(line10Fl); |
| | |
| | | |
| | | var line11Fl = new FrameLayout |
| | | { |
| | | Y = line10Fl.Bottom + Application.GetRealHeight(16), |
| | | Y = line10Fl.Bottom + Application.GetRealHeight(8), |
| | | Height = Application.GetRealHeight(h), |
| | | }; |
| | | layout.AddChidren(line11Fl); |
| | |
| | | |
| | | var line12Fl = new FrameLayout |
| | | { |
| | | Y = line11Fl.Bottom + Application.GetRealHeight(16), |
| | | Y = line11Fl.Bottom + Application.GetRealHeight(8), |
| | | Height = Application.GetRealHeight(h), |
| | | }; |
| | | layout.AddChidren(line12Fl); |