From 84e76cf2fcbe26142750131d3c27eaac0335e40a Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期四, 11 三月 2021 11:04:08 +0800
Subject: [PATCH] 上传一个添加红外宝 Ios 版本
---
HDL_ON/UI/UI2/FuntionControlView/Music/View/PlayView.cs | 64 +++++++++++++++----------------
1 files changed, 31 insertions(+), 33 deletions(-)
diff --git a/HDL_ON/UI/UI2/FuntionControlView/Music/View/PlayView.cs b/HDL_ON/UI/UI2/FuntionControlView/Music/View/PlayView.cs
index 16ab2ab..b054490 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Music/View/PlayView.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Music/View/PlayView.cs
@@ -36,13 +36,11 @@
{
X = Application.GetRealWidth(16),
Y = Application.GetRealHeight(53),
- Width = Application.GetRealWidth(100),
+ Width = Application.GetRealWidth(270),
Height = Application.GetRealHeight(17),
TextColor = MusicColor.MusicNoTxetColor,
TextSize = TextSize.Text12,
TextAlignment = TextAlignment.CenterLeft,
-
-
};
/// <summary>
///鏀惰棌鍥炬爣
@@ -51,8 +49,8 @@
{
X = Application.GetRealWidth(273),
Y = Application.GetRealHeight(14),
- Width = Application.GetMinRealAverage(40),
- Height = Application.GetMinRealAverage(40),
+ Width = Application.GetRealWidth(40),
+ Height = Application.GetRealWidth(40),
UnSelectedImagePath = "MusicIcon/collect.png",
SelectedImagePath = "MusicIcon/collectSelected.png",
};
@@ -61,20 +59,18 @@
/// </summary>
public FrameLayout fra = new FrameLayout
{
- X = Application.GetRealWidth(63 + 2),
+ X = Application.GetRealWidth(57),
Y = Application.GetRealHeight(72),
Width = Application.GetRealWidth(202+12),
- Height = Application.GetRealHeight(202+12),
+ Height = Application.GetRealWidth(202+12),
};
/// <summary>
///鏄剧ず鎾斁闊充箰鍥炬爣
/// </summary>
public Button musicIconBtn = new Button
{
- //X = Application.GetRealWidth(63 + 2+20),
- //Y = Application.GetRealHeight(72 + 6+20),
- Width = Application.GetMinRealAverage(158),
- Height = Application.GetMinRealAverage(158),
+ Width = Application.GetRealWidth(158),
+ Height = Application.GetRealWidth(158),
UnSelectedImagePath = "MusicIcon/musicIcon.png",
Gravity = Gravity.Center,
};
@@ -83,8 +79,8 @@
/// </summary>
public DiyArcSeekBar diyArcSeekBar = new DiyArcSeekBar
{
- Width = Application.GetMinRealAverage(202),
- Height = Application.GetMinRealAverage(202),
+ Width = Application.GetRealWidth(202),
+ Height = Application.GetRealWidth(202),
ProgressBarColor = MusicColor.SelectedColor,
OpenAngle = 0,//寮�鍙h搴�
ArcWidth = Application.GetRealWidth(4),//杩涘害瀹藉害
@@ -102,24 +98,26 @@
{
X = Application.GetRealWidth(22),
Y = Application.GetRealHeight(261),
- Width = Application.GetRealWidth(37 + 5),
+ Width = Application.GetRealWidth(37 + 5+20),
Height = Application.GetRealHeight(20),
TextColor = MusicColor.TextTimeColor,
TextSize = TextSize.Text14,
TextAlignment = TextAlignment.CenterLeft,
+
};
/// <summary>
///闊充箰缁撴潫鏃堕棿
/// </summary>
public Button endTimeBtn = new Button
{
- X = Application.GetRealWidth(269),
+ X = Application.GetRealWidth(269-20),
Y = Application.GetRealHeight(261),
- Width = Application.GetRealWidth(37 + 5),
+ Width = Application.GetRealWidth(37 + 5+20),
Height = Application.GetRealHeight(20),
TextColor = MusicColor.TextTimeColor,
TextSize = TextSize.Text14,
TextAlignment = TextAlignment.CenterRight,
+
};
/// <summary>
/// 姝屽悕鍚嶇О锛圱extView瓒呭嚭闀垮害鑷繁婊氬姩锛�
@@ -154,8 +152,8 @@
{
X = Application.GetRealWidth(70),
Y = Application.GetRealHeight(355),
- Width = Application.GetMinRealAverage(28),
- Height = Application.GetMinRealAverage(28),
+ Width = Application.GetRealWidth(28),
+ Height = Application.GetRealWidth(28),
UnSelectedImagePath = "MusicIcon/list.png",
};
/// <summary>
@@ -165,8 +163,8 @@
{
X = Application.GetRealWidth(150),
Y = Application.GetRealHeight(355),
- Width = Application.GetMinRealAverage(28),
- Height = Application.GetMinRealAverage(28),
+ Width = Application.GetRealWidth(28),
+ Height = Application.GetRealWidth(28),
UnSelectedImagePath = "MusicIcon/love1.png",
SelectedImagePath = "MusicIcon/loveSelected1.png",
};
@@ -177,8 +175,8 @@
{
X = Application.GetRealWidth(230),
Y = Application.GetRealHeight(355),
- Width = Application.GetMinRealAverage(28),
- Height = Application.GetMinRealAverage(28),
+ Width = Application.GetRealWidth(28),
+ Height = Application.GetRealWidth(28),
UnSelectedImagePath = "MusicIcon/playList.png",
};
/// <summary>
@@ -188,8 +186,8 @@
{
X = Application.GetRealWidth(24),
Y = Application.GetRealHeight(414),
- Width = Application.GetMinRealAverage(24),
- Height = Application.GetMinRealAverage(24),
+ Width = Application.GetRealWidth(24),
+ Height = Application.GetRealWidth(24),
UnSelectedImagePath = "MusicIcon/vol.png",
};
/// <summary>
@@ -205,8 +203,8 @@
IsClickable = true,//杩涘害鏉℃槸鍚︽粦鍔�
ProgressBarColor = MusicColor.SelectedColor,//閫変腑杩涘害鏉¢鑹�
ThumbImagePath = "MusicIcon/progressIcon.png",//杩涘害鏉℃寜閽浘鏍�
- ThumbImageHeight = Application.GetMinRealAverage(54),//杩涘害鏉℃寜閽浘鏍囩殑楂樺害锛堥粯璁ゆ鏂瑰舰锛氬鍜岄珮涓�鏍凤級
- SeekBarViewHeight = Application.GetMinRealAverage(8),//杩涘害鏉$殑楂樺害
+ ThumbImageHeight = Application.GetRealWidth(54),//杩涘害鏉℃寜閽浘鏍囩殑楂樺害锛堥粯璁ゆ鏂瑰舰锛氬鍜岄珮涓�鏍凤級
+ SeekBarViewHeight = Application.GetRealWidth(8),//杩涘害鏉$殑楂樺害
ProgressChangeDelayTime = 300,//0.3绉掑彂閫佷竴娆�
SeekBarPadding = Application.GetRealWidth(20),
};
@@ -218,7 +216,7 @@
{
X = Application.GetRealWidth(279 - 4),
Y = Application.GetRealHeight(418),
- Width = Application.GetRealWidth(26 + 4),
+ Width = Application.GetRealWidth(26 + 4+10),
Height = Application.GetRealHeight(17),
Text = "0%",
TextColor = MusicColor.MusicNoTxetColor,
@@ -231,8 +229,8 @@
{
X = Application.GetRealWidth(64),
Y = Application.GetRealHeight(466),
- Width = Application.GetMinRealAverage(40),
- Height = Application.GetMinRealAverage(40),
+ Width = Application.GetRealWidth(40),
+ Height = Application.GetRealWidth(40),
UnSelectedImagePath = "MusicIcon/prve1.png",
SelectedImagePath = "MusicIcon/prve1Selected.png",
};
@@ -243,8 +241,8 @@
{
X = Application.GetRealWidth(144),
Y = Application.GetRealHeight(466),
- Width = Application.GetMinRealAverage(40),
- Height = Application.GetMinRealAverage(40),
+ Width = Application.GetRealWidth(40),
+ Height = Application.GetRealWidth(40),
UnSelectedImagePath = "MusicIcon/pause1.png",
SelectedImagePath = "MusicIcon/play1.png",
};
@@ -255,8 +253,8 @@
{
X = Application.GetRealWidth(224),
Y = Application.GetRealHeight(466),
- Width = Application.GetMinRealAverage(40),
- Height = Application.GetMinRealAverage(40),
+ Width = Application.GetRealWidth(40),
+ Height = Application.GetRealWidth(40),
UnSelectedImagePath = "MusicIcon/next1.png",
SelectedImagePath = "MusicIcon/next1Selected.png",
};
--
Gitblit v1.8.0