Most visited

Recently visited

PercentFrameLayout.LayoutParams

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

Inherited XML attributes

From class android.widget.FrameLayout.LayoutParams
From class android.view.ViewGroup.MarginLayoutParams
From class android.view.ViewGroup.LayoutParams

Inherited constants

From class android.widget.FrameLayout.LayoutParams
From class android.view.ViewGroup.LayoutParams

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.

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

PercentFrameLayout.LayoutParams

PercentFrameLayout.LayoutParams (Context c, 
                AttributeSet attrs)

Parameters
c Context
attrs AttributeSet

PercentFrameLayout.LayoutParams

PercentFrameLayout.LayoutParams (int width, 
                int height)

Parameters
width int
height int

PercentFrameLayout.LayoutParams

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

Parameters
width int
height int
gravity int

PercentFrameLayout.LayoutParams

PercentFrameLayout.LayoutParams (ViewGroup.LayoutParams source)

Parameters
source ViewGroup.LayoutParams

PercentFrameLayout.LayoutParams

PercentFrameLayout.LayoutParams (ViewGroup.MarginLayoutParams source)

Parameters
source ViewGroup.MarginLayoutParams

PercentFrameLayout.LayoutParams

PercentFrameLayout.LayoutParams (FrameLayout.LayoutParams source)

Parameters
source FrameLayout.LayoutParams

PercentFrameLayout.LayoutParams

PercentFrameLayout.LayoutParams (PercentFrameLayout.LayoutParams source)

Parameters
source PercentFrameLayout.LayoutParams

Public methods

getPercentLayoutInfo

PercentLayoutHelper.PercentLayoutInfo getPercentLayoutInfo ()

Returns
PercentLayoutHelper.PercentLayoutInfo

Protected methods

setBaseAttributes

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

Extracts the layout parameters from the supplied attributes.

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

Hooray!