[Minor Enhancement] Less line-spacing for the menu on the left side...
Looking at the menu on the left side (cf. screenshot attached) I think quite a lot of space is vasted between lines/items. I need to scroll up-and-down which with less space between items would not be needed. I think that would be a small, but nice, improvement to make the menue a bit more compact.
#1 Updated by Soren Stoutner almost 2 years ago
- Assignee set to Soren Stoutner
The navigation drawer is created using Android's NavigationView:
Which is populated with a menu:
The NavigationView is designed to follow Google's spacing guidelines:
There are no controls provided to the developer to modify the spacing between entries.
According to Stack Overflow it is possible to replace the menu with a custom layout:
But I am inclned to stick with Google's standard NavigationView for the following reasons:
1. As a general rule I try to follow Google's design guidelines. It provides for a consistent user experience across devices.
2. Doing something custom could introduce corner-case bugs on particular devices or certain versions of Android, increasing the amount of troubleshooting and testing required with each release.
That being said, if there is a clear consensus among a number of users that compressing the NavigationView is desirable I would be amenable to doing so. The History AlertDialog has a list of entries that are closer together than the NavigationView, and I have not yet received a complaint that they are too close or that users have problems selecting the one they want. In addition, in the next release there will be another item (Domains) added to the NavigationView, with several addional entries likely down the road, so the issue of having to scroll to reach settings will get worse.
#3 Updated by xxx xxx almost 2 years ago
Fine then - I'm not coding for Android so it was just an idea in case this line spacing would have been part of the app-code itself. Since it's a 'given' by the Google guidelines then I would leave it as is and not mess around. It's not that important to mess around too much. Many thanks!
#5 Updated by Soren Stoutner almost 2 years ago
I shrunk the top padding on the navigation header from 60dp to 35dp. This is one of the areas where Google does provide controls (but not on the menu itself). It is outside the Material guidelines, but it doesn't pose any troubleshooting/maintenance issues going forward and it provides a little bit more space for the menu items.
#6 Updated by Soren Stoutner over 1 year ago
A user suggested combining the Guide and About sections of the Navigation Menu. This is an interesting thought. Currently they are separate because the Guide is information that I would recommend every user read thoroughly when they first start using the app to understand how the features work. The About activity is additional information that is available to answer specific questions, but I would not expect most users to read it completely.
Perhaps it would be best to combine some of these options in submenus:
#8 Updated by Soren Stoutner over 1 year ago
I moved the `Refresh` item to the bottom of the main options menu. I have received complaints that it can take an extra second to find `Refresh` among the other entires, and it is a commonly used feature. Putting it at the bottom allows the user to open the menu, scroll to the bottom (if required), and select `Refresh` without having to look closely at what the entries are.