Closed ngocanhtve closed 1 week ago
now this is a great proposal.
I personally have hated that popup menu myself as it kept growing with far too many options.
This will get priority (after I finish with #14 )
It's going to be more work then I expected/remembered.
The current code is using the Android "Menu/MenuItem" API extensively. Which that bottom-sheet does not support; the bottom-sheet is really only a container for custom content. So I'll need to redo quite a bit of code (or duplicate a lot of code which for me is not an option as it's devastating in the long term)
I will agree with your decision.
I have this implemented and working now, but I'm not completely satisfied with some of "Menu/MenuItem" migrations. I'll give it a rest and focus on another issue (with OpenLibrary images) and then revisit.
ok - I'm happy now with how a bottom-sheet works for the context menus in the book-list.
I need a second opinion - please note I may ignore this :-D
In the past I had two styles:
Right now, I have:
Options:
I've not converted the style-picket to a bottom-sheet yet, that's next on my list to review/do. I'm tempted to do a release with the goodreads/openlibrary (and some other things) first, and postpone this bottom-sheet functionality to the release after that.
thinking out-loud.... the filter dialog should also be converted to be consistent with the Styles picker.
should I add a preference setting so the user can choose whatever they like best:
I think this is a great choice!
meanwhile.... two dozen Dialog-to-BottomSheet later...
It's taking some time... I like my apps to be consistent in behaviour so I decided to go ahead with revamping all (or nearly all) of the dialogs (a menu is just a dialog after all) to a dual Dialog/BottomSheet structure.
I've already taken into mind to provide such a preference setting, so effectively adding it will be fairly easy.
I'm slowly getting there.
@ngocanhtve
The functionality is now almost complete and settings have been added. Which means there are some new strings that need translating. Could you please take a look? Not urgent, I'm still adding some other enhancements.
Which means there are some new strings that need translating. Could you please take a look?
I have done it.
Hello @ngocanhtve
I had to add some strings and change two longer ones. I've used google to translate, but I think it's best if you could check them please?
I've marked them "need editing" in weblate.
cheers!
but I think it's best if you could check them please?
Most of the strings are translated quite clearly, I have unchecked "Needs editing".
Here you go ... 6.0.0 apk
It's possible that the menus/dialogs need extra tuning, so please feel free to log a new issue if/when you have suggestions of course. I've been using the build myself and applied several tweaks already, but I'm likely to come across more.
Now it's perfect, appreciate your work! 👍👍
Bottom sheet is part of Material Design 3, it helps make options more within reach of the finger in today's context of long and large phone screens.
I found that the pop-up menus below is both small and high, making it difficult to optimize use:
It would be great if a long press on the book cover revealed a bottom sheet, a common behavior of Google's Material Design 3 apps, which would really help optimize app usability.