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
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.
精彩评论