Quantcast
Channel: Android layout with two columns - Stack Overflow
Viewing all articles
Browse latest Browse all 7

Android layout with two columns

$
0
0

New to Android and the whole linear/relative layout thing. Need help figuring out exactly how to make this layout:

enter image description here

What I have done so far is:

Linear Layout(Vertical)---Textview ("fixpix.")---Linear Layout (Horizontal) //first column------Linear Layout (Vertical, weight 1) //even more nesting here------Linear Layout (Vertical, weight 1) //even more nesting here------Linear Layout (Vertical, weight 1) //even more nesting here---Linear Layout (Horizontal) //last column------Linear Layout (Vertical, weight 1) //even more nesting here------Linear Layout (Vertical, weight 1) //even more nesting here------Linear Layout (Vertical, weight 1) //even more nesting here---Button ("Learn More.")

I get a lot of warnings that weights should not be nested, etc. I am not even sure if this is the right way to do it. Can someone suggest a better way and not as complicated


Viewing all articles
Browse latest Browse all 7

Latest Images

Trending Articles





Latest Images