How to define the height of a button in a relative layout?
I have a button on a relative layout that hugs the buttom of the parent, but since there 开发者_高级运维is not much above the button, the height of it is massive and extends to the object above it. What kind of code can I use to make sure the button stays at a normal height while still hugging the bottom of the parent?
set the height to wrap content
精彩评论