HDL_ON/UI/UI0-Public/TopViewDiv.cs
@@ -20,7 +20,6 @@
        /// </summary>
        FrameLayout contentView;
        /// <summary>
        /// 后退按钮
        /// </summary>
@@ -32,6 +31,11 @@
        string title;
        /// <summary>
        /// 是否需要关闭页面
        /// </summary>
        bool needClose = true;
        /// <summary>
        /// 后退时触发对事件
        /// </summary>
        Action backAction;
@@ -40,6 +44,19 @@
        {
            baseView = frame;
            title = str;
        }
        /// <summary>
        /// TopViewDiv
        /// </summary>
        /// <param name="frame">父控件</param>
        /// <param name="str">标题</param>
        /// <param name="needClose">是否需要关闭页面</param>
        public TopViewDiv(FrameLayout frame, string str, bool needClose)
        {
            baseView = frame;
            title = str;
            this.needClose = needClose;
        }
        /// <summary>
@@ -84,7 +101,7 @@
            {
                Gravity = Gravity.CenterHorizontal,
                Y = Application.GetRealHeight(30),
                Width = Application.GetRealWidth(150),
                Width = Application.GetRealWidth(270),
                Height = Application.GetRealHeight(25),
                TextAlignment = TextAlignment.Center,
                TextSize = CSS_FontSize.HeadlineFontSize,