PercentFrameLayout.LayoutParams

Added in 1.0.0
Deprecated in 1.0.0

public class PercentFrameLayout.LayoutParams extends FrameLayout.LayoutParams implements PercentLayoutHelper.PercentLayoutParams


Summary

Public constructors

LayoutParams(int width, int height)
LayoutParams(int width, int height, int gravity)

Protected methods

void
setBaseAttributes(TypedArray a, int widthAttr, int heightAttr)

Inherited Constants

From android.widget.FrameLayout.LayoutParams
static final int
From android.view.ViewGroup.LayoutParams
static final int

This field is deprecated.

static final int
static final int

Inherited methods

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.0.0
Deprecated in 1.0.0
public LayoutParams(FrameLayout.LayoutParams source)

LayoutParams

Added in 1.0.0
Deprecated in 1.0.0
@RequiresApi(value = 19)
public LayoutParams(PercentFrameLayout.LayoutParams source)

LayoutParams

Added in 1.0.0
Deprecated in 1.0.0
public LayoutParams(ViewGroup.LayoutParams source)

LayoutParams

Added in 1.0.0
Deprecated in 1.0.0
public LayoutParams(ViewGroup.MarginLayoutParams source)

LayoutParams

Added in 1.0.0
Deprecated in 1.0.0
public LayoutParams(Context c, AttributeSet attrs)

LayoutParams

Added in 1.0.0
Deprecated in 1.0.0
public LayoutParams(int width, int height)

LayoutParams

Added in 1.0.0
Deprecated in 1.0.0
public LayoutParams(int width, int height, int gravity)

Public methods

getPercentLayoutInfo

Added in 1.1.0-alpha01
Deprecated in 1.1.0-alpha01
public PercentLayoutHelper.PercentLayoutInfo getPercentLayoutInfo()

Protected methods

setBaseAttributes

protected void setBaseAttributes(TypedArray a, int widthAttr, int heightAttr)