gxc
2019-12-05 c26d742cef5ac268ca902b6605512b6476a26bc2
ZigbeeApp/Shared/Phone/Device/CommonForm/ButtonLineForm.cs
@@ -3,7 +3,7 @@
namespace Shared.Phone.Device.CommonForm
{
    public class ButtonLineForm:FrameLayout
    public class ButtonLineForm : FrameLayout
    {
        /// <summary>
        /// name
@@ -65,12 +65,13 @@
            {
                Width = Width,
                Height = Height - 3,
                TextColor=ZigbeeColor.Current.GXCTextGrayColor4,
                SelectedTextColor=ZigbeeColor.Current.GXCTextDeepBlackColor
                TextColor = ZigbeeColor.Current.GXCTextGrayColor4,
                SelectedTextColor = ZigbeeColor.Current.GXCTextDeepBlackColor,
                TextSize = CommonFormResouce.TextSize
            };
            AddChidren(NameBtn);
            Line = new Line(Height,Width/2,2);
            Line = new Line(Height, Width / 2, 2);
            AddChidren(Line);
        }
@@ -99,6 +100,7 @@
        public void SetStatu(bool statu)
        {
            NameBtn.IsSelected = Line.IsSelected = statu;
            NameBtn.TextSize = statu ? CommonFormResouce.TextSize_Selected : CommonFormResouce.TextSize;
        }
    }
}