From 46a177eb1acf7ce91af7fe9ff57af87228de938d Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 17 十月 2023 10:03:24 +0800 Subject: [PATCH] IOS库更新 --- HDL_ON/UI/UI2/FuntionControlView/Aks/YkqPage.cs | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/Aks/YkqPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Aks/YkqPage.cs index 75534f2..f8242be 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/Aks/YkqPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/Aks/YkqPage.cs @@ -387,7 +387,8 @@ TextAlignment = TextAlignment.CenterLeft, TextColor = MusicColor.TextColor, TextSize = TextSize.Text16, - TextID = StringId.xuniyaokongqi, + Text= this.remoteControl.name, + IsBold = true, }; this.AddChidren(btnTitle); @@ -425,7 +426,7 @@ Width = Application.GetRealWidth(48), Gravity = Gravity.CenterHorizontal, BackgroundColor = 0xff201F25, - Radius = (uint)Application.GetRealHeight(24), + Radius = (uint)Application.GetRealWidth(24), }; layout.AddChidren(switchFl); @@ -1083,7 +1084,7 @@ typeMultiFramLayout = new TypeMultiFramLayout(); typeMultiFramLayout.multiFramLayout.Y = Application.GetRealHeight(16); typeMultiFramLayout.AddView(cornerBottomFram); - typeMultiFramLayout.btnBottonRightName.TextID = StringId.xuniyaokongqi; + typeMultiFramLayout.btnBottonRightName.Text = this.remoteControl.name; this.AdjustRealHeight(16); } @@ -1122,7 +1123,7 @@ class CustomFrameLayout : FrameLayout { public const int widthFrameLayout = 36; - public const int heightFrameLayout = 49; + public const int heightFrameLayout = 49-6; public CustomFrameLayout(int width = widthFrameLayout, int height = heightFrameLayout) { this.Width = Application.GetRealWidth(width); @@ -1144,6 +1145,7 @@ SelectedTextColor = MusicColor.MusicTxet14SelectedColor, TextAlignment = TextAlignment.Center, Gravity = Gravity.CenterHorizontal, + Padding=new Padding(0,0,0,0), }; Button btnNumber = new Button { @@ -1161,9 +1163,9 @@ Width = Application.GetRealWidth(12), Height = Application.GetRealWidth(12), Gravity = Gravity.Center, - Radius = (uint)Application.GetRealHeight(6), + Radius = (uint)Application.GetRealWidth(6), BackgroundColor=0x00000000, - SelectedBackgroundColor = 0xFFEFEFEF, + SelectedBackgroundColor = 0xFFF2F3F7, }; public FrameLayout clickFl = new FrameLayout -- Gitblit v1.8.0