From 2202cc1f498434220f010f3806a5030390f616ee Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期四, 15 四月 2021 17:57:39 +0800 Subject: [PATCH] 2021-04-15 1.Alexa相关页面标题修改。2.增加解绑按钮 --- Crabtree/SmartHome/UI/SimpleControl/Phone/Alexa/AlexaDeviceListPage.cs | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/Crabtree/SmartHome/UI/SimpleControl/Phone/Alexa/AlexaDeviceListPage.cs b/Crabtree/SmartHome/UI/SimpleControl/Phone/Alexa/AlexaDeviceListPage.cs index e1ddf4b..c7341bd 100644 --- a/Crabtree/SmartHome/UI/SimpleControl/Phone/Alexa/AlexaDeviceListPage.cs +++ b/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); -- Gitblit v1.8.0