HDL Home App 第二版本 旧平台金堂用 正在使用
陈嘉乐
2020-12-30 81307af66465a6b5ba189b0fb9b347787f004a4e
ZigbeeApp/Shared/Phone/Device/Logic/LogicView/CompleteView.cs
old mode 100755 new mode 100644
@@ -39,7 +39,7 @@
            Height = Application.GetRealHeight(140),
            Width = Application.GetRealWidth(580),
            TextAlignment = TextAlignment.Center,
            X = Application.GetRealWidth(230+20),
            X = Application.GetRealWidth(230 + 20),
            TextSize = 16,
        };
@@ -55,17 +55,20 @@
        };
        #endregion
        public FrameLayout Show(int n)
        {
            //n多少行
            fraView.SetCornerWithSameRadius(Application.GetRealHeight(58), HDLUtils.RectCornerTopLeft | HDLUtils.RectCornerTopRight);
            fraView.Height = Application.GetRealHeight(1+140 + 70 + 160 * n);//1作用就是覆盖底色
            fraView.Height = Application.GetRealHeight(1 + 140 + 70 + 160 * n);//1作用就是覆盖底色
            fraView.Y = Application.GetRealHeight(1920 - 140 - 70 - 160 * n);
            fraView.AddChidren(titleRow);
            fraView.AddChidren(Btncancel);
            fraView.AddChidren(Btntitle);
            fraView.AddChidren(Btncomplete);
            if (titleRow.Parent == null)
            {
                fraView.AddChidren(titleRow);
                fraView.AddChidren(Btncancel);
                fraView.AddChidren(Btntitle);
                fraView.AddChidren(Btncomplete);
            }
            return fraView;
        }