gxc
2020-02-28 66a9965c44ecc32a6696abca876ab9d1cd091584
ZigbeeApp/Shared/Phone/Device/CommonForm/TopFrameLayout.cs
@@ -65,9 +65,18 @@
            {
                Y = Application.GetRealHeight(CommonFormResouce.TopStatuFrameLayout_Height),
                Height = Application.GetRealHeight(CommonFormResouce.Topview_Height),
                Width = Application.GetRealWidth(CommonPage.AppRealWidth)
                Width = Application.GetRealWidth(CommonPage.AppRealWidth),
                BackgroundColor=ZigbeeColor.Current.GXCTopViewBackgroundColor
            };
            AddChidren(topView);
            var line = new Button
            {
                Y=Height-1,
                Height=1,
                BackgroundColor=ZigbeeColor.Current.GXCGrayLineColor4
            };
            AddChidren(line);
        }
        #endregion
@@ -110,12 +119,15 @@
        {
            topTitle = new Button
            {
                X = Application.GetRealWidth(164),
                Height = Application.GetRealHeight(CommonFormResouce.TopFrameLayout_Height - CommonFormResouce.TopStatuFrameLayout_Height),
                Width = Application.GetRealWidth(CommonFormResouce.TopTitle_Width),
                TextSize = CommonFormResouce.TopTitle_TextSize,
                TextColor = ZigbeeColor.Current.GXCTitleBlackTitle,
                Gravity = Gravity.CenterHorizontal,
                TextAlignment = TextAlignment.CenterLeft,
                IsBold = true,
            };
            topView.AddChidren(topTitle);
        }
        /// <summary>