0

I am trying to earn how to control where I place an object when developing android layouts. It seems like a natural way to do this would be to pick a layout like "GridLayout" and then place the object where I want it.

However, every time I choose grid layout and specify a given number of rows and columns, they are always skewed like this

enter image description here

How do I equalize the cell sizes so I can place the object?

Stan Shunpike
  • 2,165
  • 3
  • 20
  • 32
  • RelativeLayouts are typically better for general layouts. Do you explicitly need a grid? What is the end result you are trying to make? – OneCricketeer Sep 15 '16 at 00:40

1 Answers1

1

You can use Relative layout to place your object anywhere you want.

Or you can use latest Constraint layout.

OneCricketeer
  • 179,855
  • 19
  • 132
  • 245
Learn Pain Less
  • 2,274
  • 1
  • 17
  • 24