SimonHalvdansson / Harmonic-HN

Modern Android client for Hacker News
https://play.google.com/store/apps/details?id=com.simon.harmonichackernews
Apache License 2.0
620 stars 39 forks source link

Support Android 12L new tablet navigation bar #16

Closed SimonHalvdansson closed 1 year ago

SimonHalvdansson commented 1 year ago

At least on my Galaxy Tab S7, ever since Android 12L the navigation bar size can be changed by long pressing this. Google apps seem to deal with this in a nice way but Harmonic is a bit dirty when it comes to handling paddings for system elements - things are done manually in a bad way, I'm sorry. As a result, this 12L behavior is not taken into account and the navigation bar ends up covering part of the screen content.

Ideally this should be treated with a rework of how system paddings are handled, I saw some Google IO stuff about this being possible to handle in a good way but haven't looked into it.