That configuration (the L shape) might make this a tad trickier... since the corner button might size like it's horizontal counterparts or it's vertical counterparts, depending on which linear layout they are apart of. In any event, you should be using wrap_content for the height or width, and they should all have a weight of 1. It's my understanding that the wrap_content for the height or width is important for the Linear Layout to size them correctly.It might work with fill_parent when the weights are all 1, but if you use different weights on different Views with fill_parent, things won't appear as you expect.
If you can't make it work with linearlayout and weights (which you should be able to do), you could always try to do some manual workarounds using relativelayout.
Working with different screen sizes... I think it would be impossible with a relative layout... – Maximus Apr 18 at 16:10 I'm not going to say I've tried it, but you might have a point :p though commands like centerInParent works nice for different screens. Maybe he'll find a mix of commands like that that makes it work. But I guess you'd have to embed linearlayouts within the relative one anyway eventually.. – keyser5053 Apr 19 at 14:52 Yea, I didn't mean to say "impossible", lol... that's not a good word.
But anyway, right... to get the system to resize all the views to be the same size... there would have to be a LinearLayout in there somewhere. – Maximus Apr 19 at 16:36.
I'm trying to layout a set of horizontal and vertical buttons. The problem is that if I indicate 'layout_weight' for buttons, their dimensions don't follow the 'layout_width' & 'layout_height' tags. So, buttons must have identical height & width and distribute evenly horizontally and vertically.
Can anyone suggest a solution please? UPDATE: After a lot of investigation and trying out different solutions, I came to a conclusion that my only option is to create my own custom layout and place buttons correctly there.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.