title: Why does LayoutInflater ignore the layout_width and layout_height layout parameters I've specified?
body: <p>I've had severe trouble getting LayoutInflater to work as expected, and so did other people: <a href="https://stackoverflow.com/questions/4735847/help-for-using-layoutinflator-to-add-views-at-runtime">How to use layoutinflator to add views at runtime?</a>.</p>
  
  <p>Why does LayoutInflater ignore the layout parameters I've specified? E.g. why are the <code>layout_width</code> and <code>layout_height</code> values from my resources XML not honored?</p>