FredJul / Flym

Flym News Reader is a light Android feed reader (RSS/Atom)
Other
952 stars 405 forks source link

Hide toolbar when scrolling on entry details #649

Closed fireph closed 4 years ago

fireph commented 4 years ago

Reorganizes the layout file for entry details so that the toolbar hides when scrolling down and reappears when scrolling up.

The only way to have this new layout work was to have the SwipeActionView at the top level, so now the toolbar also moves with the content when swiping between entries.

This is a very optional PR that only has to be merged in if you agree with this design change. I am planning on trying to make a PR that changes other pages to work in this same way with the toolbar, but it is trickier to refactor elsewhere to have this same toolbar hiding logic.

Also makes the top status bar and bottom navigation bar transparent when the hiding behavior is enabled.

Depends on https://github.com/FredJul/Flym/pull/648

2020-08-27_15-10-48