| | |
| | | /// </summary> |
| | | Button btnCommissioningAuthoritySwitchIcon; |
| | | |
| | | #region 管理员权限迁移 |
| | | FrameLayout administratorPermissionMigrationRow; |
| | | Button btnAdministratorPermissionMigrationTitle; |
| | | Button btnAdministratorPermissionMigrationExplan; |
| | | Button btnAdministratorPermissionMigrationSkinIcon; |
| | | #endregion |
| | | |
| | | #region 过户 |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | FrameLayout transferRow; |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | Button btnTransferTitle; |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | Button btnTrasferExplan; |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | Button btnTrasferSkinIcon; |
| | | #endregion |
| | | |
| | | #endregion |
| | | /// <summary> |
| | | /// 更新住宅名称的回调函数 |
| | |
| | | |
| | | #region 住宅名称 |
| | | FrameLayout residenceNameRow; |
| | | residenceNameRow = new FrameLayout() { |
| | | residenceNameRow = new FrameLayout() |
| | | { |
| | | Y = Application.GetRealHeight(72), |
| | | Height = Application.GetRealHeight(50), |
| | | BackgroundColor = CSS_Color.MainBackgroundColor, |
| | |
| | | |
| | | btnResidenceName = new Button() |
| | | { |
| | | X = Application.GetRealWidth(2)+ btnResidenceNameTitle.Right, |
| | | X = Application.GetRealWidth(2) + btnResidenceNameTitle.Right, |
| | | Width = Application.GetRealWidth(200), |
| | | Text = DB_ResidenceData.residenceData.residecenInfo.Name, |
| | | TextSize = CSS_FontSize.TextFontSize, |
| | |
| | | }; |
| | | residenceNameRow.AddChidren(btnEditResidenceNameIcon); |
| | | |
| | | #endregion |
| | | residenceNameRow.AddChidren( |
| | | new Button() |
| | | { |
| | |
| | | Width = Application.GetRealWidth(343), |
| | | BackgroundColor = CSS_Color.DividingLineColor, |
| | | }); |
| | | #endregion |
| | | |
| | | #region 住宅地址 |
| | | var residenceAddressRow = new FrameLayout() |
| | | { |
| | | Y = residenceNameRow.Bottom, |
| | | Height = Application.GetRealHeight(50), |
| | | BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | }; |
| | | bodyView.AddChidren(residenceAddressRow); |
| | | var residenceAddressRow = new FrameLayout() |
| | | { |
| | | Y = residenceNameRow.Bottom, |
| | | Height = Application.GetRealHeight(50), |
| | | BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | }; |
| | | bodyView.AddChidren(residenceAddressRow); |
| | | |
| | | var btnResidenceAddressTitle = new Button() |
| | | { |
| | | X = Application.GetRealWidth(16), |
| | | Width = Application.GetRealWidth(78), |
| | | TextID = StringId.ResidenceAddress, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | }; |
| | | residenceAddressRow.AddChidren(btnResidenceAddressTitle); |
| | | var btnResidenceAddressTitle = new Button() |
| | | { |
| | | X = Application.GetRealWidth(16), |
| | | Width = Application.GetRealWidth(78), |
| | | TextID = StringId.ResidenceAddress, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | }; |
| | | residenceAddressRow.AddChidren(btnResidenceAddressTitle); |
| | | |
| | | btnLocationAddressIcon = new Button() |
| | | { |
| | | X = Application.GetRealWidth(333), |
| | | Gravity = Gravity.CenterVertical, |
| | | Width = Application.GetMinRealAverage(28), |
| | | Height = Application.GetMinRealAverage(28), |
| | | UnSelectedImagePath = "Public/LocationAddressIcon.png", |
| | | }; |
| | | residenceAddressRow.AddChidren(btnLocationAddressIcon); |
| | | btnLocationAddressIcon = new Button() |
| | | { |
| | | X = Application.GetRealWidth(333), |
| | | Gravity = Gravity.CenterVertical, |
| | | Width = Application.GetMinRealAverage(28), |
| | | Height = Application.GetMinRealAverage(28), |
| | | UnSelectedImagePath = "Public/LocationAddressIcon.png", |
| | | }; |
| | | residenceAddressRow.AddChidren(btnLocationAddressIcon); |
| | | |
| | | btnResidenceAddress = new Button() |
| | | { |
| | | X = Application.GetRealWidth(2) + btnResidenceNameTitle.Right, |
| | | Width = Application.GetRealWidth(200), |
| | | Text = DB_ResidenceData.residenceData.residecenInfo.Address, |
| | | TextSize = CSS_FontSize.TextFontSize, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = CSS_Color.TextualColor, |
| | | }; |
| | | residenceAddressRow.AddChidren(btnResidenceAddress); |
| | | btnResidenceAddress = new Button() |
| | | { |
| | | X = Application.GetRealWidth(2) + btnResidenceNameTitle.Right, |
| | | Width = Application.GetRealWidth(200), |
| | | Text = DB_ResidenceData.residenceData.residecenInfo.Address, |
| | | TextSize = CSS_FontSize.TextFontSize, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = CSS_Color.TextualColor, |
| | | }; |
| | | residenceAddressRow.AddChidren(btnResidenceAddress); |
| | | #endregion |
| | | |
| | | #region 楼层管理 |
| | | floorManagementRow = new FrameLayout() |
| | | { |
| | | Y = Application.GetRealHeight(8) + residenceAddressRow.Bottom, |
| | | Y = Application.GetRealHeight(8) + residenceNameRow.Bottom,// residenceAddressRow.Bottom, |
| | | Height = Application.GetRealHeight(50), |
| | | BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | }; |
| | |
| | | roomManagementRow.AddChidren(btnRoomManagementSkinIcon); |
| | | #endregion |
| | | |
| | | |
| | | #region 管理员权限迁移 |
| | | FrameLayout administratorPermissionMigrationRow; |
| | | administratorPermissionMigrationRow = new FrameLayout() |
| | | { |
| | | Y = Application.GetRealHeight(8) + roomManagementRow.Bottom, |
| | |
| | | }; |
| | | bodyView.AddChidren(administratorPermissionMigrationRow); |
| | | |
| | | var btnAdministratorPermissionMigrationTitle = new Button() |
| | | btnAdministratorPermissionMigrationTitle = new Button() |
| | | { |
| | | X = Application.GetRealWidth(16), |
| | | Y = Application.GetRealHeight(10), |
| | |
| | | }; |
| | | administratorPermissionMigrationRow.AddChidren(btnAdministratorPermissionMigrationTitle); |
| | | |
| | | var btnAdministratorPermissionMigrationExplan = new Button() |
| | | btnAdministratorPermissionMigrationExplan = new Button() |
| | | { |
| | | X = Application.GetRealWidth(16), |
| | | Y = btnAdministratorPermissionMigrationTitle.Bottom, |
| | |
| | | }; |
| | | administratorPermissionMigrationRow.AddChidren(btnAdministratorPermissionMigrationExplan); |
| | | |
| | | Button btnAdministratorPermissionMigrationSkinIcon; |
| | | |
| | | btnAdministratorPermissionMigrationSkinIcon = new Button() |
| | | { |
| | | X = Application.GetRealWidth(343), |
| | |
| | | #endregion |
| | | |
| | | #region 过户 |
| | | FrameLayout transferRow; |
| | | |
| | | transferRow = new FrameLayout() |
| | | { |
| | | Y = administratorPermissionMigrationRow.Bottom, |
| | |
| | | }; |
| | | bodyView.AddChidren(transferRow); |
| | | |
| | | var btnTransferTitle = new Button() |
| | | btnTransferTitle = new Button() |
| | | { |
| | | X = Application.GetRealWidth(16), |
| | | Y = Application.GetRealHeight(10), |
| | |
| | | }; |
| | | transferRow.AddChidren(btnTransferTitle); |
| | | |
| | | var btnTrasferExplan = new Button() |
| | | btnTrasferExplan = new Button() |
| | | { |
| | | X = Application.GetRealWidth(16), |
| | | Y = btnTransferTitle.Bottom, |
| | |
| | | }; |
| | | transferRow.AddChidren(btnTrasferExplan); |
| | | |
| | | Button btnTrasferSkinIcon; |
| | | btnTrasferSkinIcon = new Button() |
| | | { |
| | | X = Application.GetRealWidth(343), |