更新时间:2023-01-23 21:24:23
找了好久才发现问题.问题在于我使用相对布局的方式.我想我没有正确指定相对位置.当我将其更改为线性布局时,它工作正常.它并没有用完整个屏幕,而是只用了需要的东西.
I figured out the problem after a long time. The problem was with the way I used Relative layout. I guess I have not specified the relative position properly. When I changed that to linear layout it worked fine. It was not using up the whole screen but only whatever is required.