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
  • 1,916
  • 3
  • 17
  • 30
  • 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
  • 151,199
  • 17
  • 111
  • 216
LearnPainLess
  • 2,196
  • 1
  • 15
  • 23