开发者

How to define the height of a button in a relative layout?

开发者 https://www.devze.com 2023-01-27 03:58 出处:网络
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.Wha

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

0

精彩评论

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