黄学彪
2019-12-09 163777d8a2cb7cfa469f54a7042528870ebc10a3
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
@@ -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,7 @@
        public void SetStatu(bool statu)
        {
            NameBtn.IsSelected = Line.IsSelected = statu;
            NameBtn.TextSize = statu ? CommonFormResouce.TextSize_Selected : CommonFormResouce.TextSize;
        }
    }
}