Android app showing black borders overlapping the edges of UI - some kind of compatibility mode?

徘徊边缘 提交于 2019-12-07 01:02:30

问题


I've encountered a strange problem with an android app designed for phones when run on a tablet. The UI is scaled correctly to the device, but there's this big black border overlapping the edges, as if it's trying to show some sort of phone-sized version of the screen.

Oddly, when using Android Studio's Layout Inspector to try and see what the black border is, it only shows the UI we want to have, with no sign of the black border:

I've fiddled with a bunch of settings and tried googling for the issue in every way I can imagine, but can't find anyone with a solution to the issue. Has anyone encountered this or does anyone have an idea of how to fix it?

来源:https://stackoverflow.com/questions/43893805/android-app-showing-black-borders-overlapping-the-edges-of-ui-some-kind-of-com

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!