From 10ef74e90cb5fc66e32db0b20f2e81a711886c1f Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期二, 14 七月 2020 16:53:51 +0800
Subject: [PATCH] 2020-07-14-1
---
HDL_ON/UI/UI2/FuntionControlView/Music/View/PlayView.cs | 57 ++++++++++++++++++++++++++++++++++++++++++---------------
1 files changed, 42 insertions(+), 15 deletions(-)
diff --git a/HDL_ON/UI/UI2/FuntionControlView/Music/View/PlayView.cs b/HDL_ON/UI/UI2/FuntionControlView/Music/View/PlayView.cs
index e77fcd6..b707d85 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Music/View/PlayView.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Music/View/PlayView.cs
@@ -4,8 +4,6 @@
{
public class PlayView
{
-
-
/// <summary>
///鐧借壊鍥剧墖鐖舵帶浠�
/// </summary>
@@ -16,7 +14,6 @@
Height = Application.GetRealHeight(526),
Width = Application.GetRealWidth(327),
BackgroundImagePath = "MusicIcon/playBj.png",
-
};
/// <summary>
/// 闊充箰姹夊瓧
@@ -30,7 +27,7 @@
TextColor = Color.MusicTxet14Color,
TextSize = TextSize.Text24,
TextAlignment = TextAlignment.CenterLeft,
- TextID=StringId.a31Music,
+ TextID = StringId.a31Music,
};
/// <summary>
/// 鍖哄煙鍚嶇О
@@ -44,7 +41,7 @@
TextColor = Color.MusicNoTxetColor,
TextSize = TextSize.Text12,
TextAlignment = TextAlignment.CenterLeft,
- TextID = StringId.region,
+ Text= A31MusicModel.Current.GetRoomListName(),
};
/// <summary>
@@ -60,16 +57,44 @@
SelectedImagePath = "MusicIcon/collectSelected.png",
};
/// <summary>
+ ///蹇�,閫�杩涘害鏉$埗鎺т欢
+ /// </summary>
+ public FrameLayout fra = new FrameLayout
+ {
+ X = Application.GetRealWidth(63 + 2),
+ Y = Application.GetRealHeight(72),
+ Width = Application.GetRealWidth(202+12),
+ Height = Application.GetRealHeight(202+12),
+ };
+ /// <summary>
///鏄剧ず鎾斁闊充箰鍥炬爣
/// </summary>
public Button musicIconBtn = new Button
{
- X = Application.GetRealWidth(63),
- Y = Application.GetRealHeight(72),
+ //X = Application.GetRealWidth(63 + 2+20),
+ //Y = Application.GetRealHeight(72 + 6+20),
+ Width = Application.GetMinRealAverage(158),
+ Height = Application.GetMinRealAverage(158),
+ UnSelectedImagePath = "MusicIcon/musicIcon.png",
+ Gravity = Gravity.Center,
+ };
+ /// <summary>
+ /// 蹇�,閫�杩涘害鏉�
+ /// </summary>
+ public DiyArcSeekBar diyArcSeekBar = new DiyArcSeekBar
+ {
Width = Application.GetMinRealAverage(202),
Height = Application.GetMinRealAverage(202),
- UnSelectedImagePath = "MusicIcon/musicIcon.png",
+ ProgressBarColor = Color.SelectedColor,
+ OpenAngle = 0,//寮�鍙h搴�
+ ArcWidth = Application.GetRealWidth(4),//杩涘害瀹藉害
+ ThumbImagePath = "MusicIcon/thumbImage.png",//杩涘害鏉℃寜閽浘鏍�
+ ThumbImageHeight = Application.GetMinRealAverage(8),//杩涘害鏉℃寜閽浘鏍囩殑楂樺害锛堥粯璁ゆ鏂瑰舰锛氬鍜岄珮涓�鏍凤級
+ MaxValue=100,
+ Gravity = Gravity.Center,
+ SeekBarPadding = Application.GetMinRealAverage(3),
};
+
/// <summary>
///闊充箰寮�濮嬫椂闂�
/// </summary>
@@ -77,7 +102,7 @@
{
X = Application.GetRealWidth(22),
Y = Application.GetRealHeight(261),
- Width = Application.GetRealWidth(37),
+ Width = Application.GetRealWidth(37 + 5),
Height = Application.GetRealHeight(20),
TextColor = Color.TextTimeColor,
TextSize = TextSize.Text14,
@@ -90,7 +115,7 @@
{
X = Application.GetRealWidth(269),
Y = Application.GetRealHeight(261),
- Width = Application.GetRealWidth(37),
+ Width = Application.GetRealWidth(37 + 5),
Height = Application.GetRealHeight(20),
TextColor = Color.TextTimeColor,
TextSize = TextSize.Text14,
@@ -108,7 +133,7 @@
TextColor = Color.TextColor,
TextSize = TextSize.Text16,
};
-
+
/// <summary>
/// 姝屾墜鍚嶇О
/// </summary>
@@ -182,7 +207,7 @@
ThumbImagePath = "MusicIcon/progressIcon.png",//杩涘害鏉℃寜閽浘鏍�
ThumbImageHeight = Application.GetMinRealAverage(54),//杩涘害鏉℃寜閽浘鏍囩殑楂樺害锛堥粯璁ゆ鏂瑰舰锛氬鍜岄珮涓�鏍凤級
SeekBarViewHeight = Application.GetMinRealAverage(8),//杩涘害鏉$殑楂樺害
- ProgressChangeDelayTime=300,//0.3绉掑彂閫佷竴娆�
+ ProgressChangeDelayTime = 300,//0.3绉掑彂閫佷竴娆�
};
/// <summary>
@@ -190,9 +215,9 @@
/// </summary>
public Button volValueBtn = new Button
{
- X = Application.GetRealWidth(279-4),
+ X = Application.GetRealWidth(279 - 4),
Y = Application.GetRealHeight(418),
- Width = Application.GetRealWidth(26+4),
+ Width = Application.GetRealWidth(26 + 4),
Height = Application.GetRealHeight(17),
Text = "0%",
TextColor = Color.MusicNoTxetColor,
@@ -244,7 +269,9 @@
musicBjFl.AddChidren(musicNameBtn);
musicBjFl.AddChidren(regionBtn);
musicBjFl.AddChidren(collectIconBtn);
- musicBjFl.AddChidren(musicIconBtn);
+ musicBjFl.AddChidren(fra);
+ fra.AddChidren(musicIconBtn);
+ fra.AddChidren(diyArcSeekBar);
musicBjFl.AddChidren(startTimeBtn);
musicBjFl.AddChidren(endTimeBtn);
musicBjFl.AddChidren(songNameTextView);
--
Gitblit v1.8.0