wjc
2023-08-02 a0ff1e2375ea0ad8ea127341e04799be8123bd54
HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/VerticalBoutonFLayout.cs
@@ -18,18 +18,6 @@
            Radius = (uint)Application.GetRealHeight(cornerValue);
        }
        //public FrameLayout fLayout = new FrameLayout
        //{
        //    Y = Application.GetRealHeight(16),
        //    Width = Application.GetRealWidth(widthFrameLayout - 8),
        //    Height = Application.GetRealHeight(heightFrameLayout - 16),
        //    Radius = (uint)Application.GetRealHeight(cornerValue),
        //    BackgroundColor = MusicColor.ViewColor,
        //};
        public FrameLayout ONFLayout = new FrameLayout
        {
            Height = Application.GetRealWidth(40),
@@ -85,13 +73,11 @@
         public void AddView(FrameLayout parent)
        {
            parent.AddChidren(this);
            //this.AddChidren(fLayout);
            this.AddChidren(ONFLayout);
            ONFLayout.AddChidren(ONButton);
            this.AddChidren(btnName);
            this.AddChidren(OFFFLayout);
            OFFFLayout.AddChidren(OFFButton);
            ONFLayout.Y = Application.GetRealHeight(11);
            btnName.Y = ONFLayout.Bottom + Application.GetRealHeight(11);
            OFFFLayout.Y = btnName.Bottom + Application.GetRealHeight(11);