Android APIs
public static class

PercentRelativeLayout.LayoutParams

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

Summary

[Expand]
Inherited XML Attributes
From class android.widget.RelativeLayout.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.RelativeLayout.LayoutParams
From class android.view.ViewGroup.MarginLayoutParams
From class android.view.ViewGroup.LayoutParams
Public Constructors
PercentRelativeLayout.LayoutParams(Context c, AttributeSet attrs)
PercentRelativeLayout.LayoutParams(int width, int height)
PercentRelativeLayout.LayoutParams(ViewGroup.LayoutParams source)
PercentRelativeLayout.LayoutParams(ViewGroup.MarginLayoutParams 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.widget.RelativeLayout.LayoutParams
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 PercentRelativeLayout.LayoutParams (Context c, AttributeSet attrs)

public PercentRelativeLayout.LayoutParams (int width, int height)

public PercentRelativeLayout.LayoutParams (ViewGroup.LayoutParams source)

public PercentRelativeLayout.LayoutParams (ViewGroup.MarginLayoutParams 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