| | |
| | | VerticalScrolViewLayout middViewLayout; |
| | | public void Show() |
| | | { |
| | | this.BackgroundColor = Color.ViewColor; |
| | | this.BackgroundColor = MusicColor.ViewColor; |
| | | var topView = new TopView(); |
| | | this.AddChidren(topView.TopFLayoutView()); |
| | | topView.topNameBtn.TextID = StringId.myList; |
| | |
| | | |
| | | middViewLayout = new VerticalScrolViewLayout |
| | | { |
| | | BackgroundColor = Color.WhiteColor, |
| | | BackgroundColor = MusicColor.WhiteColor, |
| | | Y = topView.fLayout.Bottom, |
| | | Height = Application.GetRealHeight(H_W.H - H_W.T_Height), |
| | | }; |
| | |
| | | RowLayout addFlieRow = new RowLayout |
| | | { |
| | | Height = Application.GetRealHeight(104), |
| | | LineColor = Color.WhiteColor, |
| | | LineColor = MusicColor.WhiteColor, |
| | | SubViewWidth = Application.GetRealWidth(90),//改变编辑控件宽度多少; |
| | | }; |
| | | middViewLayout.AddChidren(addFlieRow); |
| | |
| | | //移除界面 |
| | | System.Threading.Tasks.Task.Run(() => |
| | | { |
| | | SendMethod.PushList(songs, list.ListName, list.MusicInfoList,A31MusicModel.Current,true); |
| | | SendMethod.PushList(songs, list.ListName, list.MusicInfoList,A31MusicModel.Current, "我的列表"); |
| | | }); |
| | | }); |
| | | }); |
| | |
| | | Y = Application.GetRealHeight(42), |
| | | Width = Application.GetRealWidth(217), |
| | | Height = Application.GetRealHeight(20), |
| | | TextColor = Color.TextColor, |
| | | TextColor = MusicColor.TextColor, |
| | | TextSize = TextSize.Text14, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | Text= list.ListName, |
| | |
| | | ///编辑控件 |
| | | var editBtn = new Button |
| | | { |
| | | BackgroundColor = Color.MusicEditColor, |
| | | BackgroundColor = MusicColor.MusicEditColor, |
| | | Text = Language.StringByID(StringId.editMusic), |
| | | TextColor = Color.WhiteColor, |
| | | TextColor = MusicColor.WhiteColor, |
| | | TextSize = TextSize.Text16, |
| | | }; |
| | | addFlieRow.AddRightView(editBtn); |
| | |
| | | ///删除控件 |
| | | var delBtn = new Button |
| | | { |
| | | BackgroundColor = Color.MusicDelColor, |
| | | BackgroundColor = MusicColor.MusicDelColor, |
| | | Text = Language.StringByID(StringId.delMusic), |
| | | TextColor = Color.WhiteColor, |
| | | TextColor = MusicColor.WhiteColor, |
| | | TextSize = TextSize.Text16, |
| | | }; |
| | | addFlieRow.AddRightView(delBtn); |