title: Android Linear Layout Weight Programmatically
body: <p>I want to add three linear layouts to an activity programatically each of same width. the problem is i am not able to set the weights of these layouts programmatically. I could do this within xml, but I want to do this in program.
  here is what I want:
  <img src="https://i.stack.imgur.com/2503h.jpg" alt="enter image description here"></p>