黄学彪
2020-07-01 304dca51c28183a9dfc192c6b93ea1c00bdd5d97
ZigbeeApp/Shared/Phone/Category/CategoryMainForm.cs
@@ -23,11 +23,11 @@
        /// <summary>
        /// 场景功能中部背景bodyView(高度为设备菜单的那个白色背景的上部到屏幕底部)
        /// </summary>
        public FrameLayout functionSceneBodyView;
        public NormalFrameLayout functionSceneBodyView;
        /// <summary>
        /// 中部背景bodyView(高度为场景功能切换控件的底部到屏幕底部)
        /// </summary>
        public FrameLayout functionSceneAutoBodyView;
        public NormalFrameLayout functionSceneAutoBodyView;
        /// <summary>
        /// 右上角添加按钮
        /// </summary>
@@ -82,7 +82,7 @@
        private void InitTopControl()
        {
            //头部FrameLayout
            this.topFrameLayout = new FrameLayout();
            this.topFrameLayout = new NormalFrameLayout();
            topFrameLayout.Y = Application.GetRealHeight(104);
            topFrameLayout.Height = Application.GetRealHeight(127);
            topFrameLayout.BackgroundColor = ZigbeeColor.Current.GXCGrayBackgroundColor;
@@ -130,7 +130,7 @@
        private void InitMidControls()
        {
            //应该是body吧
            this.bodyFrameLayout = new FrameLayout();
            this.bodyFrameLayout = new NormalFrameLayout();
            bodyFrameLayout.Y = topFrameLayout.Bottom;
            bodyFrameLayout.Height = this.Height - topFrameLayout.Bottom;
            bodyFrameLayout.BackgroundColor = ZigbeeColor.Current.GXCGrayBackgroundColor;
@@ -181,7 +181,7 @@
            }
            //目前不知道郭雪城的这个具体放在哪个的位置
            this.functionSceneAutoBodyView = new FrameLayout();
            this.functionSceneAutoBodyView = new NormalFrameLayout();
            functionSceneAutoBodyView.Y = frameSwitchBack.Bottom;
            functionSceneAutoBodyView.Height = bodyFrameLayout.Height - frameSwitchBack.Bottom;
            bodyFrameLayout.AddChidren(functionSceneAutoBodyView);
@@ -317,7 +317,7 @@
            };
            //功能和场景bodyView
            this.functionSceneBodyView = new FrameLayout();
            this.functionSceneBodyView = new NormalFrameLayout();
            functionSceneBodyView.Y = roomSwitchContr.Bottom;
            functionSceneBodyView.Height = functionSceneAutoBodyView.Height - roomSwitchContr.Bottom;
            functionSceneAutoBodyView.AddChidren(functionSceneBodyView);