开发者

why are my buttons not fitting properly?

In landscape mode t开发者_Python百科hey properly stretch to fit the width..but in portrait the Exit button is extending too far to the right.

layout code: http://pastebin.com/KZVCdVJw

why are my buttons not fitting properly?


The reason why it wasnt properly fitting the screen was due to the orientation of the LinearLayout it was in. By changing the orientation from horizontal to vertical it solved the problem.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜