It seems like the window size on a GalaxyA51 is incorrect.
This leads the bounds to be incorrect too.
You can see here that the bottom is cut out.
You can that this lead to incorrect bounds on elements at the bottom of the screen too.
Hope you can solve this issue.