I am trying to add a fragment programmatically to a LinearLayout, but the fragment does not stretch its content across the whole layouts height. It acts like wrap_content in
Ok - this one was pretty dumb. I changed my container from a LinearLayout to a FrameLayout and voilà: it's working.