gxc
2019-12-13 eb424d24e39bab4a245725f35deab3f234ea0f13
ZigbeeApp/Shared/Phone/Device/CommonForm/ButtonLineForm.cs
old mode 100755 new mode 100644
@@ -3,7 +3,7 @@
namespace Shared.Phone.Device.CommonForm
{
    public class ButtonLineForm:FrameLayout
    public class ButtonLineForm : FrameLayout
    {
        /// <summary>
        /// name
@@ -61,14 +61,17 @@
        /// </summary>
        public void Init()
        {
            NameBtn = new SelectedStatuButton()
            NameBtn = new Button()
            {
                Width = Width,
                Height = Height - 3
                Height = Height - 3,
                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);
        }
@@ -97,6 +100,8 @@
        public void SetStatu(bool statu)
        {
            NameBtn.IsSelected = Line.IsSelected = statu;
            NameBtn.TextSize = statu ? CommonFormResouce.TextSize_Selected : CommonFormResouce.TextSize;
            NameBtn.IsBold = statu;
        }
    }
}