开发者

How to keep my buttons visible in my custom dialog

开发者 https://www.devze.com 2023-03-29 19:34 出处:网络
I have a custom dialog that uses an xml file to setup the layout, but my listview is pushing the buttons down so they appear to be squeezed (Those buttons do have text set). Anyone know how i could ke

I have a custom dialog that uses an xml file to setup the layout, but my listview is pushing the buttons down so they appear to be squeezed (Those buttons do have text set). Anyone know how i could keep the buttons so they are always visibl开发者_C百科e?

code: http://pastebin.com/9Mc0f8x1


hi try giving the bottom linear layout weight to be 1 and also wrap all the other things above that with a linearlayout and give layout_weight property as 3 amd check....

Hope it helps you...

0

精彩评论

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