Sparchitect
Sparchitect

Reputation: 29

Linear or Relative Layout?

just having a tough time forming my layout. I mocked up a Photoshop example of what I'm trying to accomplish real quick.

I have been trying to form this layout with a Relative Layout but it's not working like I thought it would, should I use a LinearLayout perhaps? Any insight would be greatly appreciated!

Here's the example:

EDIT

http://i58.tinypic.com/axxjdl.png

Made a few minor changes to the layout, but nested relativeLayoutss inside a linearLayout worked perfectly. Now just having trouble making those bottom 3 settings buttons center, meh oh well I'll figure it out.

Upvotes: 0

Views: 66

Answers (1)

Dan S
Dan S

Reputation: 9189

Use nested layouts, after all a layout is a View.

Your example looks like LinearLayout at root and a RelativeLayout for each row. If you're making several rows you should look into the details of a ListView.

Upvotes: 2

Related Questions