| | |
| | | /// </summary> |
| | | optionListView = new VerticalScrolViewLayout() |
| | | { |
| | | Height = Application.GetRealHeight(51 * (6+1)), |
| | | Height = Application.GetRealHeight(51 * 6), |
| | | BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | ScrollEnabled = false, |
| | | }; |
| | | bodyScrolView.AddChidren(optionListView); |
| | | |
| | | if(Entity.DB_ResidenceData.Instance.SupportFacePass) |
| | | { |
| | | optionListView.Height = Application.GetRealHeight(51 * (6 + 1)); |
| | | } |
| | | |
| | | #region 个人选项-名字区域 |
| | | /// <summary> |
| | | /// 个人选项-名字区域 |
| | |
| | | optionListView.AddChidren(new Button() { X = Application.GetRealWidth(16), Height = Application.GetRealHeight(1), Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor }); |
| | | #endregion |
| | | |
| | | |
| | | if (Entity.DB_ResidenceData.Instance.SupportFacePass) |
| | | { |
| | | #region 个人选项-人脸通行管理 |
| | | faceManagementView = new FrameLayout() |
| | | { |
| | |
| | | MainPage.BasePageView.AddChidren(page); |
| | | page.LoadPage(); |
| | | MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; |
| | | |
| | | }; |
| | | |
| | | #endregion |
| | | |
| | | |
| | | } |
| | | |
| | | #endregion |
| | | |