LinearLayout.LayoutParams(int width, int height, float weight) Creates a new set of layout parameters with the specified width, height and weight.