vhaudiquet / blade-player

Android music player that plays from local library, Spotify or Deezer
GNU General Public License v3.0
67 stars 12 forks source link

Main ListView resizing #3

Closed vhaudiquet closed 6 years ago

vhaudiquet commented 6 years ago

On the main activity, there is a little layout that shows the current track and a play/pause button. The problem is that it appears above the ListView, and hides the last element. The solution is to resize the ListView programatically when it appears ; the problem is that i'm currently doing that using absolute sizes (setting the list view to 1500dp directly) and it doesnt work on a lot of phones (that have a different resolution). -> find a way to do that with relative sizes, so that it can work on all phones and using automatic rotation