HDL Home App 第二版本 旧平台金堂用 正在使用
黄学彪
2020-05-13 2be70a32d2a8c517bd9868fb60913fcc843e66fe
ZigbeeApp/Shared/Phone/Device/Logic/LogicView/TipView.cs
old mode 100644 new mode 100755
@@ -71,10 +71,8 @@
            {
                Y = topFrame.Bottom,
                Width = Application.GetRealWidth(792),
                Height = Application.GetRealHeight(127),
             Gravity=Gravity.BottomCenter,
                Height = Application.GetRealHeight(127),
                Gravity = Gravity.BottomCenter,
            };
            tipFLayout.AddChidren(bottomFrame);
@@ -87,8 +85,7 @@
                Height = bottomFrame.Height,
                Width = Application.GetRealWidth(397),
                BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor,
                TextID = R.MyInternationalizationString.cancel,
                TextID = R.MyInternationalizationString.cancel,
            };
            bottomFrame.AddChidren(cancelBtn);
            cancelBtn.SetCornerWithSameRadius(Application.GetRealHeight(17), HDLUtils.RectCornerBottomLeft);
@@ -160,7 +157,7 @@
                Y = Application.GetRealHeight(69),
                X = Application.GetRealWidth(150),
                Height = Application.GetRealHeight(63),
                Width = Application.GetRealWidth(492),
                Width = Application.GetRealWidth(492),
               TextID = R.MyInternationalizationString.invalidSetting,
                TextAlignment = TextAlignment.Center,
                TextColor = ZigbeeColor.Current.LogicTipColor,
@@ -248,7 +245,7 @@
            };
            bottomFrame.AddChidren(okBtn);
            if (_if) {
            if (_if) {
                cancelBtn.X = Application.GetRealWidth(0);
                cancelBtn.Width = Application.GetRealWidth(0);
                okBtn.X = Application.GetRealWidth(0);
@@ -361,7 +358,6 @@
                Width = Application.GetRealWidth(792),
                Height = Application.GetRealHeight(127),
                Gravity = Gravity.BottomCenter,
            };
            tipFLayout.AddChidren(bottomFrame);
            ///取消控件
@@ -472,8 +468,8 @@
                TextColor = ZigbeeColor.Current.LogicBtnCancelColor,
                TextSize = 14,
            };
            tipFLayout.AddChidren(Text1Btn);
            tipFLayout.AddChidren(Text1Btn);
            new System.Threading.Thread(() =>
            {
                System.Threading.Thread.Sleep(timeValue*1000);
@@ -486,3 +482,5 @@
        }
    }
}