mac
2023-10-14 b55fe675d1dd17748a29e4e7de60d14e36740a6e
HDL_ON/UI/UI2/FuntionControlView/Aks/YkqPage.cs
@@ -397,7 +397,7 @@
            {
                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,
@@ -410,7 +410,7 @@
                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,
@@ -426,7 +426,7 @@
                Width = Application.GetRealWidth(48),
                Gravity = Gravity.CenterHorizontal,
                BackgroundColor = 0xff201F25,
                Radius = (uint)Application.GetRealHeight(24),
                Radius = (uint)Application.GetRealWidth(24),
            };
            layout.AddChidren(switchFl);
@@ -445,7 +445,7 @@
                switchBtn.IsSelected = false;
            };
            int h = 49;
            int h = 49-6;
            int offset = 28;//x轴偏移量
            int septal = 36;//间隔
            #region
@@ -481,7 +481,7 @@
            var line2Fl = new FrameLayout
            {
                Y = line1Fl.Bottom + Application.GetRealHeight(16),
                Y = line1Fl.Bottom + Application.GetRealHeight(8),
                Height = Application.GetRealHeight(h),
            };
            layout.AddChidren(line2Fl);
@@ -521,7 +521,7 @@
            var line3Fl = new FrameLayout
            {
                Y = line2Fl.Bottom + Application.GetRealHeight(16),
                Y = line2Fl.Bottom + Application.GetRealHeight(8),
                Height = Application.GetRealHeight(h),
            };
            layout.AddChidren(line3Fl);
@@ -554,7 +554,7 @@
            var line4Fl = new FrameLayout
            {
                Y = line3Fl.Bottom + Application.GetRealHeight(16),
                Y = line3Fl.Bottom + Application.GetRealHeight(8),
                Height = Application.GetRealHeight(h),
            };
            layout.AddChidren(line4Fl);
@@ -696,7 +696,7 @@
            var line8Fl = new FrameLayout
            {
                Y = line7Fl.Bottom + Application.GetRealHeight(32),
                Y = line7Fl.Bottom + Application.GetRealHeight(16),
                Height = Application.GetRealHeight(h),
            };
            layout.AddChidren(line8Fl);
@@ -741,14 +741,14 @@
            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),
@@ -781,7 +781,7 @@
            btnPindaojia = new Button 
            {
                Y = Application.GetRealHeight(32),
                Y = Application.GetRealHeight(16),
                X = Application.GetRealWidth(170),
                Width = Application.GetRealWidth(36),
                Height = Application.GetRealWidth(36),
@@ -814,7 +814,7 @@
            okFl = new FrameLayout
            {
                Y = Application.GetRealHeight(32),
                Y = Application.GetRealHeight(16),
                Height = Application.GetRealWidth(143),
                Width = Application.GetRealWidth(143),
                BackgroundImagePath = "AksIcon/ykq_ok.png",
@@ -939,7 +939,7 @@
            var line10Fl = new FrameLayout
            {
                Y = line9Fl.Bottom + Application.GetRealHeight(16),
                Y = line9Fl.Bottom + Application.GetRealHeight(8),
                Height = Application.GetRealHeight(h),
            };
            layout.AddChidren(line10Fl);
@@ -983,7 +983,7 @@
            var line11Fl = new FrameLayout
            {
                Y = line10Fl.Bottom + Application.GetRealHeight(16),
                Y = line10Fl.Bottom + Application.GetRealHeight(8),
                Height = Application.GetRealHeight(h),
            };
            layout.AddChidren(line11Fl);
@@ -1031,7 +1031,7 @@
            var line12Fl = new FrameLayout
            {
                Y = line11Fl.Bottom + Application.GetRealHeight(16),
                Y = line11Fl.Bottom + Application.GetRealHeight(8),
                Height = Application.GetRealHeight(h),
            };
            layout.AddChidren(line12Fl);
@@ -1123,7 +1123,7 @@
    class CustomFrameLayout : FrameLayout
    {
        public const int widthFrameLayout = 36;
        public const int heightFrameLayout = 49;
        public const int heightFrameLayout = 49-6;
        public CustomFrameLayout(int width = widthFrameLayout, int height = heightFrameLayout)
        {
            this.Width = Application.GetRealWidth(width);
@@ -1145,6 +1145,7 @@
            SelectedTextColor = MusicColor.MusicTxet14SelectedColor,
            TextAlignment = TextAlignment.Center,
            Gravity = Gravity.CenterHorizontal,
            Padding=new Padding(0,0,0,0),
        };
        Button btnNumber = new Button
        {
@@ -1162,9 +1163,9 @@
            Width = Application.GetRealWidth(12),
            Height = Application.GetRealWidth(12),
            Gravity = Gravity.Center,
            Radius = (uint)Application.GetRealHeight(6),
            Radius = (uint)Application.GetRealWidth(6),
            BackgroundColor=0x00000000,
            SelectedBackgroundColor = 0xFFEFEFEF,
            SelectedBackgroundColor = 0xFFF2F3F7,
        };
        public FrameLayout clickFl = new FrameLayout