CrabtreeOn,印度客户定制APP,迁移2.0平台版本
JLChen
2021-04-15 2202cc1f498434220f010f3806a5030390f616ee
Crabtree/SmartHome/UI/SimpleControl/Phone/Alexa/AlexaDeviceListPage.cs
@@ -50,7 +50,16 @@
        {
            #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 ();
@@ -60,7 +69,7 @@
            #region 设备-场景
            var topView = new FrameLayout () {
                Height = Application.GetRealHeight (110),
                Height = Application.GetRealWidth (110),
                BackgroundColor = SkinStyle.Current.TitileView,
            };
            BaseContentView.AddChidren (topView);