| | |
| | | { |
| | | #region ---TopView--- |
| | | base.ShowPage (); |
| | | this.topTitleBtn.Text = "Alexa"; |
| | | //this.topTitleBtn.Text = "Alexa"; |
| | | |
| | | //设置标题为音箱备注 |
| | | if (mAlexa != null) { |
| | | if (string.IsNullOrEmpty (mAlexa.remark)) { |
| | | this.topTitleBtn.Text = mAlexa.platformName; |
| | | } else { |
| | | this.topTitleBtn.Text = mAlexa.remark; |
| | | } |
| | | } |
| | | //添加按钮点击事件 |
| | | EventHandler<MouseEventArgs> addSubaccountHandler = (sender, e) => { |
| | | OpenAlexaSettingPage (); |
| | |
| | | |
| | | #region 设备-场景 |
| | | var topView = new FrameLayout () { |
| | | Height = Application.GetRealHeight (110), |
| | | Height = Application.GetRealWidth (110), |
| | | BackgroundColor = SkinStyle.Current.TitileView, |
| | | }; |
| | | BaseContentView.AddChidren (topView); |