public class

LinearLayoutCompat.LayoutParams

extends LinearLayout.LayoutParams

 java.lang.Object

↳LinearLayout.LayoutParams

↳androidx.appcompat.widget.LinearLayoutCompat.LayoutParams

Subclasses:

ActionMenuView.LayoutParams

Overview

Per-child layout information associated with ViewLinearLayout.

Summary

Constructors
publicLayoutParams(Context c, AttributeSet attrs)

publicLayoutParams(int width, int height, float weight)

Creates a new set of layout parameters with the specified width, height and weight.

publicLayoutParams(ViewGroup.LayoutParams p)

publicLayoutParams(ViewGroup.MarginLayoutParams source)

Methods
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public LayoutParams(Context c, AttributeSet attrs)

public LayoutParams(int width, int height, float weight)

Creates a new set of layout parameters with the specified width, height and weight.

Parameters:

width: the width, either LinearLayoutCompat.LayoutParams, LinearLayoutCompat.LayoutParams or a fixed size in pixels
height: the height, either LinearLayoutCompat.LayoutParams, LinearLayoutCompat.LayoutParams or a fixed size in pixels
weight: the weight

public LayoutParams(ViewGroup.LayoutParams p)

public LayoutParams(ViewGroup.MarginLayoutParams source)