黄学彪
2019-10-18 97e259d966cb5cb5d73c105d5dbaadcc1f920614
ZigbeeApp/Shared/Phone/Device/CommonForm/SelectZone.cs
@@ -108,60 +108,6 @@
            confrim.MouseUpEventHandler += Confrim_MouseEvent;
        }
        /// <summary>
        /// AddTime
        /// </summary>
        /// <param name="verticalScrolView"></param>
        private void AddTime(VerticalScrolViewLayout verticalScrolView, int timess)
        {
            var row = new FrameLayout
            {
                Height = Application.GetRealHeight(127 + 12),
                BackgroundColor = ZigbeeColor.Current.GXCBackgroundColor
            };
            verticalScrolView.AddChidren(row);
            var trow = new FrameLayout
            {
                Y = Application.GetRealHeight(12),
                Height = Application.GetRealHeight(127),
                BackgroundColor = ZigbeeColor.Current.GXCBackgroundColor
            };
            row.AddChidren(trow);
            var timeBtn = new Button
            {
                X = Application.GetRealWidth(80),
                Width = Application.GetRealWidth(500),
                TextAlignment = TextAlignment.CenterLeft,
                TextColor = ZigbeeColor.Current.GXCTextGrayColor4,
                SelectedTextColor = ZigbeeColor.Current.GXCTextBlackColor,
                IsSelected = false
            };
            trow.AddChidren(timeBtn);
            var selectBtn = new Button
            {
                X = Application.GetRealWidth(942),
                Width = Application.GetMinRealAverage(60),
                Height = Application.GetMinRealAverage(60),
                Gravity = Gravity.CenterVertical,
                UnSelectedImagePath = "Item/ItemSelected.png",
                Visible = false
            };
            trow.AddChidren(selectBtn);
            var Line = new FrameLayout()
            {
                Y = trow.Height - 1,
                Width = Application.GetRealWidth(919),
                Height = 1,
                Gravity = Gravity.CenterHorizontal,
                BackgroundColor = Common.ZigbeeColor.Current.GXCGrayLineColor2
            };
            trow.AddChidren(Line);
        }
        /// <summary>
        /// Close