Android Set Height Programmatically, Enables you to set a max height for a linear layout while also using wrap content.