| | |
| | | /// <summary>
|
| | | /// 场景功能中部背景bodyView(高度为设备菜单的那个白色背景的上部到屏幕底部)
|
| | | /// </summary>
|
| | | public FrameLayout functionSceneBodyView;
|
| | | public NormalFrameLayout functionSceneBodyView;
|
| | | /// <summary>
|
| | | /// 中部背景bodyView(高度为场景功能切换控件的底部到屏幕底部)
|
| | | /// </summary>
|
| | | public FrameLayout functionSceneAutoBodyView;
|
| | | public NormalFrameLayout functionSceneAutoBodyView;
|
| | | /// <summary>
|
| | | /// 右上角添加按钮
|
| | | /// </summary>
|
| | |
| | | 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;
|
| | |
| | | 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;
|
| | |
| | | }
|
| | |
|
| | | //目前不知道郭雪城的这个具体放在哪个的位置
|
| | | this.functionSceneAutoBodyView = new FrameLayout();
|
| | | this.functionSceneAutoBodyView = new NormalFrameLayout();
|
| | | functionSceneAutoBodyView.Y = frameSwitchBack.Bottom;
|
| | | functionSceneAutoBodyView.Height = bodyFrameLayout.Height - frameSwitchBack.Bottom;
|
| | | bodyFrameLayout.AddChidren(functionSceneAutoBodyView);
|
| | |
| | | };
|
| | |
|
| | | //功能和场景bodyView
|
| | | this.functionSceneBodyView = new FrameLayout();
|
| | | this.functionSceneBodyView = new NormalFrameLayout();
|
| | | functionSceneBodyView.Y = roomSwitchContr.Bottom;
|
| | | functionSceneBodyView.Height = functionSceneAutoBodyView.Height - roomSwitchContr.Bottom;
|
| | | functionSceneAutoBodyView.AddChidren(functionSceneBodyView);
|