gxc
2019-11-07 a4924de3136289d10cabbf2f61a228387d44ded7
ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelButtonSettionForm.cs
@@ -180,18 +180,6 @@
            this.AddBindRow();
            //添加背光灯行
            this.AddBackLightRow();
            //借用Y轴坐标
            var btnTemp = new BottomClickButton();
            var realHeight = listview.GetChildren(0).Height * listview.ChildrenCount;
            if (bodyFrameLayout.Height - btnTemp.Yaxis + realHeight > listview.Height)
            {
                //促使被挡住的菜单能够向上滑动
                var frameTemp = new FrameLayout();
                frameTemp.Height = bodyFrameLayout.Height - btnTemp.Yaxis + Application.GetRealHeight(115);
                listview.AddChidren(frameTemp);
            }
            btnTemp = null;
        }
        #endregion
@@ -377,7 +365,7 @@
            var btnIcon = new NormalViewControl(Application.GetMinRealAverage(52), Application.GetMinRealAverage(52), false);
            btnIcon.Name = "btn" + device.DeviceEpoint;
            btnIcon.Gravity = Gravity.Center;
            btnIcon.Radius = (uint)Application.GetMinRealAverage(6);
            btnIcon.Radius = 6;
            btnIcon.BorderWidth = 2;
            btnIcon.BorderColor = 0xff979797;
            frame.AddChidren(btnIcon, ChidrenBindMode.BindEventOnly);