One way to present a set of actions to a user is with bottom sheets, a sheet of paper that slides up from the bottom edge of the screen. Bottom sheets offer flexibility in the display of clear and simple actions that do not need explanation.
Previously the navbar height would be 0 for my Oneplus One (Android 7.1), so I interchanged your navBarHeight code for mine. :D Now it gives the correct padding again.
Previously the navbar height would be 0 for my Oneplus One (Android 7.1), so I interchanged your navBarHeight code for mine. :D Now it gives the correct padding again.