陈嘉乐
2020-06-28 ac909072af41b3dcb05d4a7df3d27a8e85e4e7e2
ZigbeeApp/Shared/Phone/Device/Logic/LogicView/LightView.cs
@@ -14,6 +14,9 @@
        {
            Height = Application.GetRealHeight(150),
        };
        /// <summary>
        /// 功能标题
        /// </summary>
        public Button titleBtn = new Button
        {
            X = Application.GetRealWidth(58),
@@ -26,14 +29,32 @@
            TextSize = 14,
            
        };
        /// <summary>
        /// 下一级菜单图标
        /// </summary>
        public Button nextBtn = new Button
        {
            Width = Application.GetMinRealAverage(103),
            Height = Application.GetMinRealAverage(103),
            UnSelectedImagePath = "ZigeeLogic/next.png",
            UnSelectedImagePath = "ZigeeLogic/back1.png",
            X = Application.GetRealWidth(920),
            Y = Application.GetRealHeight(11 + 20),
        };
        /// <summary>
        /// 状态显示文本
        /// </summary>
        public Button seletecdTextBtn = new Button
        {
            X = Application.GetRealWidth(300),
            Y = Application.GetRealHeight(34),
            Height = Application.GetRealHeight(58),
            Width = Application.GetRealWidth(1080-300 - 126),
            TextAlignment = TextAlignment.CenterRight,
            TextColor = ZigbeeColor.Current.LogicBtnSelectedColor,
            TextSize = 14,
        };
        public Button lineBtn = new Button
        {
            Width = Application.GetRealWidth(964),
@@ -48,6 +69,7 @@
        public FrameLayout Show()
        {
            frameLayout.AddChidren(titleBtn);
            frameLayout.AddChidren(seletecdTextBtn);
            frameLayout.AddChidren(nextBtn);
            lineBtn.Y = frameLayout.Height - 1;
            frameLayout.AddChidren(lineBtn);