From b562a582ac3a288193e6e4f57c5eff8a344305a4 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期五, 27 九月 2024 13:52:17 +0800
Subject: [PATCH] Update AndroidManifest.xml
---
HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/HorizontalFramLayout.cs | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/HorizontalFramLayout.cs b/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/HorizontalFramLayout.cs
index d6ffea3..76a22bc 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/HorizontalFramLayout.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/HorizontalFramLayout.cs
@@ -48,16 +48,17 @@
{
Height = Application.GetRealHeight(28),
Width = Application.GetRealWidth(20),
- SelectedBackgroundColor = MusicColor.ViewColor,
+ SelectedBackgroundColor = MusicColor.MusicTxet14SelectedColor,
BackgroundColor = 0x00000000,
Text = mList[i].filterName,
TextSize = TextSize.Text14,
TextColor = MusicColor.TextColor,
- SelectedTextColor = MusicColor.MusicTxet14SelectedColor,
+ SelectedTextColor = MusicColor.WhiteColor,
TextAlignment = TextAlignment.Center,
Padding = new Padding(4, 4, 4, 4),
Radius = (uint)Application.GetRealHeight(4),
Tag = filters,
+ Name = i.ToString(),
};
//閲嶆柊璁$畻缁勪欢瀹藉害
@@ -73,6 +74,11 @@
this.AddChidren(btnSpacing);
button.MouseDownEventHandler += (sen, e) =>
{
+ if (btnSelected.Name == button.Name)
+ {
+ //鐐瑰嚮鍚屼竴涓粍浠舵棤鏁�
+ return;
+ }
btnSelected.IsSelected = false;
button.IsSelected = true;
btnSelected = button;
@@ -80,7 +86,9 @@
{
return;
}
- SelectTypeEvent?.Invoke((Filters)button.Tag);
+ var filtersSelected = (Filters)button.Tag;
+
+ SelectTypeEvent?.Invoke(filtersSelected);
};
if (defaultIndex != -1 && defaultIndex == i)
--
Gitblit v1.8.0