| | |
| | | UserMiddle.SettingView.AddChidren (btTopNull); |
| | | #endregion |
| | | |
| | | |
| | | |
| | | #region ---进入后台---DeviceManagementView--- |
| | | if (true) {//调试账号 |
| | | //if (MainPage.LoginUser.AccountType == 0) {//调试账号 |
| | |
| | | //UserMiddle.SettingView.AddChidren (btnNullWarningMsg); |
| | | #endregion |
| | | |
| | | #region ---Schedule--- |
| | | #region ---Schedule--- |
| | | FrameLayout ScheduleView = new FrameLayout () { |
| | | Width = Application.GetRealWidth (640), |
| | | Height = Application.GetRealHeight (100), |
| | | BackgroundColor = SkinStyle.Current.ViewColor |
| | | }; |
| | | UserMiddle.SettingView.AddChidren (ScheduleView); |
| | | Button btnScheduleIcon = new Button () { |
| | | X = Application.GetRealWidth (30), |
| | | Gravity = Gravity.CenterVertical, |
| | |
| | | Height = Application.GetRealHeight (100), |
| | | BackgroundColor = SkinStyle.Current.ViewColor |
| | | }; |
| | | UserMiddle.SettingView.AddChidren (AlexaView); |
| | | Button btnAlexaIcon = new Button () { |
| | | X = Application.GetRealWidth (30), |
| | | Gravity = Gravity.CenterVertical, |
| | |
| | | Height = Application.GetRealHeight (100), |
| | | BackgroundColor = SkinStyle.Current.ViewColor |
| | | }; |
| | | UserMiddle.SettingView.AddChidren (subaccountView); |
| | | Button btnSubaccountIcon = new Button () { |
| | | X = Application.GetRealWidth (30), |
| | | Gravity = Gravity.CenterVertical, |
| | |
| | | TextColor = SkinStyle.Current.TextColor1, |
| | | }; |
| | | subaccountView.AddChidren (btnSubaccountTitle); |
| | | |
| | | Button btnNullSubaccount = new Button () { |
| | | Height = Application.GetRealHeight (5), |
| | | BackgroundColor = SkinStyle.Current.MainColor |
| | |
| | | #endregion |
| | | |
| | | |
| | | //if (!UserConfig.Instance.CurrentRegion.IsOthreShare) { |
| | | // //主账号开放该功能; |
| | | // UserMiddle.SettingView.AddChidren (ScheduleView); |
| | | // UserMiddle.SettingView.AddChidren (AlexaView); |
| | | // UserMiddle.SettingView.AddChidren (subaccountView); |
| | | //} |
| | | |
| | | //主账号开放该功能; |
| | | UserMiddle.SettingView.AddChidren (ScheduleView); |
| | | UserMiddle.SettingView.AddChidren (AlexaView); |
| | | UserMiddle.SettingView.AddChidren (subaccountView); |
| | | #region ---help--- |
| | | var helpView = new FrameLayout () { |
| | | Width = Application.GetRealWidth (640), |
| | |
| | | #endregion |
| | | |
| | | |
| | | |
| | | |
| | | Button btnNullSkin = new Button () { |
| | | Height = Application.GetRealHeight (5), |
| | | BackgroundColor = SkinStyle.Current.MainColor |