| | |
| | | Height = Application.GetMinRealAverage(28), |
| | | UnSelectedImagePath = "Public/AddIcon.png", |
| | | }; |
| | | topView.AddChidren(btnAddIconBg); |
| | | |
| | | if (!DB_ResidenceData.Instance.CurrentRegion.IsOthreShare) |
| | | { |
| | | topView.AddChidren(btnAddIconBg); |
| | | } |
| | | btnAddIcon = new Button() |
| | | { |
| | | X = Application.GetRealWidth(337-20), |
| | | Width = Application.GetMinRealAverage(28+30), |
| | | Height = Application.GetMinRealAverage(28+29), |
| | | }; |
| | | topView.AddChidren(btnAddIcon); |
| | | if (!DB_ResidenceData.Instance.CurrentRegion.IsOthreShare) |
| | | { |
| | | topView.AddChidren(btnAddIcon); |
| | | } |
| | | #endregion |
| | | |
| | | contentPageView = new PageLayout() |
| | |
| | | Width = Application.GetRealWidth(32), |
| | | UnSelectedImagePath = "Public/FuncInfoSetIcon_white.png", |
| | | }; |
| | | view.AddChidren(btnSettingIcon); |
| | | if (!DB_ResidenceData.Instance.CurrentRegion.IsOthreShare) |
| | | { |
| | | view.AddChidren(btnSettingIcon); |
| | | } |
| | | |
| | | Button btnCollection; |
| | | btnCollection = new Button() |