There is a 1.5 cm black margin between the Android Auto (AA) content and the top of the car's display, which is only visible when I connect Xiaomi A2 lite. It didn't happen with my previous phone. Moreover, the bottom part of the AA content is not shown at all, so that this app became not usable at all.

This happens also when casting with Google photos to my home smart TV, so I don't think that AA is the problem.

Any suggestion of how to fix this issue?