Sunday, February 25, 2018

3.0 Work in Progress 16: Navigation Menu

For this WIP update I am going to show off the side navigation menu.  I set it up similarly to GMMP 2.x, but behind the scenes it will be customizable.  The only fixed menu options will be library, settings, and exit.  The rest will be able to be customized.  The same goes with the library view.  The tabs shown there will be able to be chosen.  All this customization wont come until a later alpha build but it is planned.


I am not exactly sure what I am going to put up in the top yellow region yet, so i left it blank for now.  To control navigation in general, I am using this nice library called simple-stack.  It handles the backstack instead of the build in android one (which has a lot of issues that I will not go into).  The backstack is basically the list of views you have navigated to, so you can backtrack to the previous view when you hit the back button.  Below is a video of the navigation menu and the other navigation actions (like viewing an artist/genre/album details).  Animations were disabled for the video.  I need to do a bit of restructuring since this allows me to jump to any view at any time.


Also in the past week I implemented context menu actions and the multi select actions (images below).  Right now those actions are just play, play next, and enqueue, but I will bring back all the actions from 2.x.  One nice additional will be the ability to multi select and delete or add to playlist from the folder browser.  All the rework I have done will allow you to multi select files, folders, playlists, and cue files all together.


I changed the play next and enqueue icons.  Not sure if these will stay or if i will return to the old icons.


Next on the TODO list is updating the UI for landscape support.  The majority of the UIs will look the same but some of them like Now Playing will have its own layout.  The plan is to have most of the customizable metadata to be orientation specific meaning that the metadata shown on now playing and the other lists can be changed depending on whether you are in landscape or portrait mode.