开发者

Android linearlayout design problem

For my design i have in the xml file something like:

The design is 开发者_运维知识库like a row that have two cells. I want one of them to be autosize and fill the row and one of them to have fixez size. I want that the second linearlayout to wrapp its content and the first one to fill the rest of the space. Something like in css having two divs floating left and one having fixed size and one filling the rest of the row.

Is something like that possible using the xml file without changing the sizes manually?


Your description is pretty confusing, but do you mean something like this?

Also read all the way down until he starts talking about RelativeLayouts. They are generally preferred over LinearLayouts.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜