xm
2020-12-10 3aa397ab145382935492b11c1f18c9634e69910b
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/InformationEditorControl.cs
@@ -34,12 +34,14 @@
        /// <param name="bodyFrameLayout">父控件</param>
        /// <param name="title">标题文本</param>
        /// <param name="Height">蓝湖UI里面它的高度</param>
        /// <param name="real">是否计算Height的真实值</param>
        /// <returns>信息容器控件</returns>
        public FrameListControl InitControl(FrameLayout bodyFrameLayout, string title, int Height)
        public FrameListControl InitControl(FrameLayout bodyFrameLayout, string title, int Height, bool real = true)
        {
            if (real == true) { Height = Application.GetRealHeight(Height); }
            //明细列表的桌布,白色背景
            this.detailBackFrame = new FrameLayout();
            detailBackFrame.Height = Application.GetRealHeight(Height);
            detailBackFrame.Height = Height;
            detailBackFrame.BackgroundColor = UserCenterColor.Current.White;
            detailBackFrame.SetCornerWithSameRadius(Application.GetRealHeight(58), HDLUtils.RectCornerTopLeft | HDLUtils.RectCornerTopRight);
            detailBackFrame.Gravity = Gravity.BottomCenter;
@@ -58,7 +60,7 @@
            //列表控件
            this.listview = new FrameListControl(12);
            listview.Y = btnTile.Bottom + Application.GetRealHeight(17);
            listview.Height = Application.GetRealHeight(Height) - btnTile.Bottom - Application.GetRealHeight(17);
            listview.Height = Height - btnTile.Bottom - Application.GetRealHeight(17);
            detailBackFrame.AddChidren(listview);
            return listview;