From 7167334c0e89dd84827d59e726123d14776e3a09 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期二, 16 六月 2020 11:14:13 +0800
Subject: [PATCH] 2020-06-16-1
---
HDL_ON/UI/Music/View/PlayView.cs | 59 ++++++++++++++++++++++++++++++-----------------------------
1 files changed, 30 insertions(+), 29 deletions(-)
diff --git a/HDL_ON/UI/Music/View/PlayView.cs b/HDL_ON/UI/Music/View/PlayView.cs
index f69fa70..e77fcd6 100644
--- a/HDL_ON/UI/Music/View/PlayView.cs
+++ b/HDL_ON/UI/Music/View/PlayView.cs
@@ -65,7 +65,7 @@
public Button musicIconBtn = new Button
{
X = Application.GetRealWidth(63),
- Y = Application.GetRealHeight(86),
+ Y = Application.GetRealHeight(72),
Width = Application.GetMinRealAverage(202),
Height = Application.GetMinRealAverage(202),
UnSelectedImagePath = "MusicIcon/musicIcon.png",
@@ -76,7 +76,7 @@
public Button startTimeBtn = new Button
{
X = Application.GetRealWidth(22),
- Y = Application.GetRealHeight(271),
+ Y = Application.GetRealHeight(261),
Width = Application.GetRealWidth(37),
Height = Application.GetRealHeight(20),
TextColor = Color.TextTimeColor,
@@ -89,7 +89,7 @@
public Button endTimeBtn = new Button
{
X = Application.GetRealWidth(269),
- Y = Application.GetRealHeight(271),
+ Y = Application.GetRealHeight(261),
Width = Application.GetRealWidth(37),
Height = Application.GetRealHeight(20),
TextColor = Color.TextTimeColor,
@@ -102,11 +102,11 @@
public TextView songNameTextView = new TextView
{
X = Application.GetRealWidth(62),
- Y = Application.GetRealHeight(302),
+ Y = Application.GetRealHeight(290),
Width = Application.GetRealWidth(203),
- Height = Application.GetRealHeight(32),
+ Height = Application.GetRealHeight(30),
TextColor = Color.TextColor,
- TextSize = TextSize.Text20,
+ TextSize = TextSize.Text16,
};
/// <summary>
@@ -115,7 +115,7 @@
public Button singerBtn = new Button
{
X = Application.GetRealWidth(62),
- Y = Application.GetRealHeight(335),
+ Y = Application.GetRealHeight(322),
Width = Application.GetRealWidth(203),
Height = Application.GetRealHeight(21),
TextColor = Color.MusicNoTxetColor,
@@ -123,27 +123,27 @@
};
/// <summary>
- /// 鍠滅埍
- /// </summary>
- public Button loveBtn = new Button
- {
- X = Application.GetRealWidth(70),
- Y = Application.GetRealHeight(366),
- Width = Application.GetMinRealAverage(28),
- Height = Application.GetMinRealAverage(28),
- UnSelectedImagePath = "MusicIcon/love.png",
- SelectedImagePath = "MusicIcon/loveSelected.png",
- };
- /// <summary>
/// 鎾斁椤哄簭
/// </summary>
public Button playOrderBtn = new Button
{
- X = Application.GetRealWidth(150),
- Y = Application.GetRealHeight(366),
+ X = Application.GetRealWidth(70),
+ Y = Application.GetRealHeight(355),
Width = Application.GetMinRealAverage(28),
Height = Application.GetMinRealAverage(28),
UnSelectedImagePath = "MusicIcon/list.png",
+ };
+ /// <summary>
+ /// 鍠滅埍
+ /// </summary>
+ public Button loveBtn = new Button
+ {
+ X = Application.GetRealWidth(150),
+ Y = Application.GetRealHeight(355),
+ Width = Application.GetMinRealAverage(28),
+ Height = Application.GetMinRealAverage(28),
+ UnSelectedImagePath = "MusicIcon/love1.png",
+ SelectedImagePath = "MusicIcon/loveSelected1.png",
};
/// <summary>
/// 鎾斁鍒楄〃
@@ -151,7 +151,7 @@
public Button playlistBtn = new Button
{
X = Application.GetRealWidth(230),
- Y = Application.GetRealHeight(366),
+ Y = Application.GetRealHeight(355),
Width = Application.GetMinRealAverage(28),
Height = Application.GetMinRealAverage(28),
UnSelectedImagePath = "MusicIcon/playList.png",
@@ -162,7 +162,7 @@
public Button volIconBtn = new Button
{
X = Application.GetRealWidth(24),
- Y = Application.GetRealHeight(410),
+ Y = Application.GetRealHeight(414),
Width = Application.GetMinRealAverage(24),
Height = Application.GetMinRealAverage(24),
UnSelectedImagePath = "MusicIcon/vol.png",
@@ -172,7 +172,7 @@
/// </summary>
public DiyImageSeekBar volSeekBar = new DiyImageSeekBar
{
- Y = Application.GetRealHeight(395),
+ Y = Application.GetRealHeight(399),
X = Application.GetRealWidth(58),
Width = Application.GetRealWidth(215),
Height = Application.GetRealHeight(54),//杩涘害鏉$埗鎺т欢鑳屾櫙楂樺害
@@ -182,6 +182,7 @@
ThumbImagePath = "MusicIcon/progressIcon.png",//杩涘害鏉℃寜閽浘鏍�
ThumbImageHeight = Application.GetMinRealAverage(54),//杩涘害鏉℃寜閽浘鏍囩殑楂樺害锛堥粯璁ゆ鏂瑰舰锛氬鍜岄珮涓�鏍凤級
SeekBarViewHeight = Application.GetMinRealAverage(8),//杩涘害鏉$殑楂樺害
+ ProgressChangeDelayTime=300,//0.3绉掑彂閫佷竴娆�
};
/// <summary>
@@ -190,7 +191,7 @@
public Button volValueBtn = new Button
{
X = Application.GetRealWidth(279-4),
- Y = Application.GetRealHeight(414),
+ Y = Application.GetRealHeight(418),
Width = Application.GetRealWidth(26+4),
Height = Application.GetRealHeight(17),
Text = "0%",
@@ -203,7 +204,7 @@
public Button prevBtn = new Button
{
X = Application.GetRealWidth(64),
- Y = Application.GetRealHeight(462),
+ Y = Application.GetRealHeight(466),
Width = Application.GetMinRealAverage(40),
Height = Application.GetMinRealAverage(40),
UnSelectedImagePath = "MusicIcon/prve1.png",
@@ -215,7 +216,7 @@
public Button playBtn = new Button
{
X = Application.GetRealWidth(144),
- Y = Application.GetRealHeight(462),
+ Y = Application.GetRealHeight(466),
Width = Application.GetMinRealAverage(40),
Height = Application.GetMinRealAverage(40),
UnSelectedImagePath = "MusicIcon/pause1.png",
@@ -227,7 +228,7 @@
public Button nextBtn = new Button
{
X = Application.GetRealWidth(224),
- Y = Application.GetRealHeight(462),
+ Y = Application.GetRealHeight(466),
Width = Application.GetMinRealAverage(40),
Height = Application.GetMinRealAverage(40),
UnSelectedImagePath = "MusicIcon/next1.png",
@@ -248,8 +249,8 @@
musicBjFl.AddChidren(endTimeBtn);
musicBjFl.AddChidren(songNameTextView);
musicBjFl.AddChidren(singerBtn);
- musicBjFl.AddChidren(loveBtn);
musicBjFl.AddChidren(playOrderBtn);
+ musicBjFl.AddChidren(loveBtn);
musicBjFl.AddChidren(playlistBtn);
musicBjFl.AddChidren(volIconBtn);
musicBjFl.AddChidren(volSeekBar);
--
Gitblit v1.8.0