陈嘉乐
2020-05-27 e82cf12d701ebc716f85675ba63b6b024005d9b1
HDL_ON/UI/Music/A31MyListMusic.cs
@@ -65,10 +65,12 @@
                    //防止歌手名字为空抛异常
                    songs.Artist = " ";
                }
                FrameLayout musicViewFl = new FrameLayout
                RowLayout musicViewFl = new RowLayout
                {
                    Width = Application.GetRealWidth(375),
                    Height = Application.GetRealHeight(44),
                    LineColor = Color.WhiteColor,
                    SubViewWidth = Application.GetRealWidth(90),//改变编辑控件宽度多少;
                };
                middViewLayout.AddChidren(musicViewFl);
                //列表当前播放音乐图标
@@ -177,7 +179,21 @@
                {
                    loveIcon.IsSelected = false;
                }
                ///删除控件
                var delBtn = new Button
                {
                    BackgroundColor = Color.MusicDelColor,
                    Text = Language.StringByID(StringId.delMusic),
                    TextColor = Color.WhiteColor,
                    TextSize = TextSize.Text16,
                };
                musicViewFl.AddRightView(delBtn);
                delBtn.MouseUpEventHandler += (sender, e) =>
                {
                    fileListInfo.MusicInfoList.Remove(songs);
                    A31MusicModel.Save();
                    musicViewFl.RemoveFromParent();
                };
                //添加到我的列表
                Button addIcon = new Button
                {