陈嘉乐
2020-06-10 a7d20263f28aa009ef8e064a7f9700d7cd642492
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);