Android APIs
public static class

PercentFrameLayout.LayoutParams

extends FrameLayout.LayoutParams
implements PercentLayoutHelper.PercentLayoutParams
java.lang.Object
   ↳ android.view.ViewGroup.LayoutParams
     ↳ android.view.ViewGroup.MarginLayoutParams
       ↳ android.widget.FrameLayout.LayoutParams
         ↳ android.support.percent.PercentFrameLayout.LayoutParams

Summary

[Expand]
Inherited XML Attributes
From class android.widget.FrameLayout.LayoutParams
From class android.view.ViewGroup.MarginLayoutParams
From class android.view.ViewGroup.LayoutParams
[Expand]
Inherited Constants
From class android.view.ViewGroup.LayoutParams
[Expand]
Inherited Fields
From class android.widget.FrameLayout.LayoutParams
From class android.view.ViewGroup.MarginLayoutParams
From class android.view.ViewGroup.LayoutParams
Public Constructors
PercentFrameLayout.LayoutParams(Context c, AttributeSet attrs)
PercentFrameLayout.LayoutParams(int width, int height)
PercentFrameLayout.LayoutParams(int width, int height, int gravity)
PercentFrameLayout.LayoutParams(ViewGroup.LayoutParams source)
PercentFrameLayout.LayoutParams(ViewGroup.MarginLayoutParams source)
PercentFrameLayout.LayoutParams(FrameLayout.LayoutParams source)
PercentFrameLayout.LayoutParams(PercentFrameLayout.LayoutParams source)
Public Methods
PercentLayoutHelper.PercentLayoutInfo getPercentLayoutInfo()
Protected Methods
void setBaseAttributes(TypedArray a, int widthAttr, int heightAttr)
Extracts the layout parameters from the supplied attributes.
[Expand]
Inherited Methods
From class android.view.ViewGroup.MarginLayoutParams
From class android.view.ViewGroup.LayoutParams
From class java.lang.Object
From interface android.support.percent.PercentLayoutHelper.PercentLayoutParams

Public Constructors

public PercentFrameLayout.LayoutParams (Context c, AttributeSet attrs)

public PercentFrameLayout.LayoutParams (int width, int height)

public PercentFrameLayout.LayoutParams (int width, int height, int gravity)

public PercentFrameLayout.LayoutParams (ViewGroup.LayoutParams source)

public PercentFrameLayout.LayoutParams (ViewGroup.MarginLayoutParams source)

public PercentFrameLayout.LayoutParams (FrameLayout.LayoutParams source)

public PercentFrameLayout.LayoutParams (PercentFrameLayout.LayoutParams source)

Public Methods

public PercentLayoutHelper.PercentLayoutInfo getPercentLayoutInfo ()

Protected Methods

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

Extracts the layout parameters from the supplied attributes.

Parameters
a the style attributes to extract the parameters from
widthAttr the identifier of the width attribute
heightAttr the identifier of the height attribute