LinearLayoutCompat.LayoutParams


public class LinearLayoutCompat.LayoutParams extends LinearLayout.LayoutParams


Per-child layout information associated with ViewLinearLayout.

Summary

Public constructors

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

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

Inherited Constants

From android.view.ViewGroup.LayoutParams
static final int

This field is deprecated.

static final int
static final int

Inherited methods

From android.widget.LinearLayout.LayoutParams
String
debug(String output)
From android.view.ViewGroup.LayoutParams
void
setBaseAttributes(TypedArray a, int widthAttr, int heightAttr)
From android.view.ViewGroup.MarginLayoutParams
int
int
int
boolean
void
resolveLayoutDirection(int layoutDirection)
void
setLayoutDirection(int layoutDirection)
void
setMarginEnd(int end)
void
setMarginStart(int start)
void
setMargins(int left, int top, int right, int bottom)

Public constructors

LayoutParams

Added in 1.1.0
public LayoutParams(ViewGroup.LayoutParams p)

LayoutParams

Added in 1.1.0
public LayoutParams(ViewGroup.MarginLayoutParams source)

LayoutParams

Added in 1.1.0
public LayoutParams(Context c, AttributeSet attrs)

LayoutParams

Added in 1.1.0
public LayoutParams(int width, int height)

LayoutParams

Added in 1.1.0
public LayoutParams(int width, int height, float weight)

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

Parameters
int width

the width, either MATCH_PARENT, WRAP_CONTENT or a fixed size in pixels

int height

the height, either MATCH_PARENT, WRAP_CONTENT or a fixed size in pixels

float weight

the weight