hauke96 / GeoNotes

A simple app to create georeferences notes.
GNU General Public License v3.0
55 stars 10 forks source link

add a button with a list of points to the top status bar #58

Closed OmlineEditor closed 2 years ago

OmlineEditor commented 2 years ago

now in the status bar there is only the my position and export button. I also ask you to add a button with the entire list of points, so it's faster to open the list.

hauke96 commented 2 years ago

What version of GeoNotes do you use? Because since 1.4.0 there's a button which shows a list of all notes.

OmlineEditor commented 2 years ago

My version 1.4.3 list

hauke96 commented 2 years ago

Ah, I see.

Unfortunately that's the default behavior of that android icon toolbar. It's a design decision Google made to not use the whole available space (probably to not make the toolbar to crowded with lots of icons). But I'm not completely innocent as I'm not using this toolbar as intended, but I don't really like the alternatives Googles material design and Android SDK provide.

I could enforce it, so that all buttons (or the first few) are visible, but that might not work well on smaller devices or devices with higher UI zoom or higher font sizes.

So unfortunately we have to live with this behavior.

OmlineEditor commented 2 years ago

I think you can configure it so that if the screen allows you to accommodate all the buttons, then all these buttons are shown, if the screen is small, then let there be a menu with drop-down lists.

hauke96 commented 2 years ago

That's unfortunately not how the Android action bar works, it just allows certain settings for the behavior of the icons: Never show them, always show them or show them if there's space available (which I currently use). Those are all options that exist and you cannot manually change their behavior.

OmlineEditor commented 2 years ago

you are wrong, you can completely control how many buttons you have on the panel, in other applications I have more buttons and everything fits. look at the detailed settings, maybe you forgot to add something.

hauke96 commented 2 years ago

As I said: I can always show all buttons, but then smaller screens or screens with a higher UI scale factor won't be able to show all buttons as there's not enough space. If you have a concrete code example, API documentation or other resource, feel free to share it with me.