From b55fe675d1dd17748a29e4e7de60d14e36740a6e Mon Sep 17 00:00:00 2001 From: mac <user@users-MacBook-Pro.local> Date: 星期六, 14 十月 2023 13:01:30 +0800 Subject: [PATCH] 2023年10月14日13:01:27 --- HDL_ON/UI/UI2/FuntionControlView/Aks/TyyPage.cs | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/Aks/TyyPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Aks/TyyPage.cs index b5d4558..d0496b5 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/Aks/TyyPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/Aks/TyyPage.cs @@ -110,7 +110,7 @@ }); } - + private void InitUI() { this.BackgroundColor = MusicColor.ViewColor; @@ -123,19 +123,20 @@ TextAlignment = TextAlignment.CenterLeft, TextColor = MusicColor.TextColor, TextSize = TextSize.Text16, - TextID = StringId.touyingyi, + Text= this.remoteControl.name, + IsBold = true, }; this.AddChidren(btnTitle); - cornerTopFram = new CornerFramLayout(343, 452, 17); + cornerTopFram = new CornerFramLayout(343, 452-30, 17); cornerTopFram.X = Application.GetRealWidth(16); cornerTopFram.Y = btnTitle.Bottom + Application.GetRealHeight(16); this.AddChidren(cornerTopFram); cornerTopFram.SetMargin(16, 0, 16, 0); - cornerTopFram.LoadButtonPage(AksCommonMethod.Current.GetTYYKeypadList(),new List<int> { 3, 4, 5 }); + cornerTopFram.LoadButtonPage(AksCommonMethod.Current.GetTYYKeypadList(this.remoteControl),new List<int> { 3, 4, 5 }); - CornerFramLayout cornerBottomFram = new CornerFramLayout(343, 292, 17); + CornerFramLayout cornerBottomFram = new CornerFramLayout(343, 292-30, 17); cornerBottomFram.X = Application.GetRealWidth(16); cornerBottomFram.Y = cornerTopFram.Bottom + Application.GetRealHeight(16); cornerBottomFram.BackgroundColor = MusicColor.WhiteColor; @@ -149,7 +150,7 @@ typeMultiFramLayout = new TypeMultiFramLayout(); typeMultiFramLayout.multiFramLayout.Y = menuFram.Bottom + Application.GetRealHeight(32); typeMultiFramLayout.AddView(cornerBottomFram); - typeMultiFramLayout.btnBottonRightName.TextID = StringId.touyingyi; + typeMultiFramLayout.btnBottonRightName.Text = this.remoteControl.name; this.AdjustRealHeight(16); } -- Gitblit v1.8.0