Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
added in version 1.0.0
belongs to Maven artifact androidx.percentlayout:percentlayout:1.0.0-rc01
Deprecated since version 1.0.0

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
         ↳ androidx.percentlayout.widget.PercentFrameLayout.LayoutParams


This class was deprecated in API level 1.0.0.
this class is deprecated along with its parent class.

Summary

Inherited constants

Inherited fields

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)

Inherited methods

Public constructors

PercentFrameLayout.LayoutParams

added in version 1.0.0
public PercentFrameLayout.LayoutParams (Context c, 
                AttributeSet attrs)

Parameters
c Context

attrs AttributeSet

PercentFrameLayout.LayoutParams

added in version 1.0.0
public PercentFrameLayout.LayoutParams (int width, 
                int height)

Parameters
width int

height int

PercentFrameLayout.LayoutParams

added in version 1.0.0
public PercentFrameLayout.LayoutParams (int width, 
                int height, 
                int gravity)

Parameters
width int

height int

gravity int

PercentFrameLayout.LayoutParams

added in version 1.0.0
public PercentFrameLayout.LayoutParams (ViewGroup.LayoutParams source)

Parameters
source ViewGroup.LayoutParams

PercentFrameLayout.LayoutParams

added in version 1.0.0
public PercentFrameLayout.LayoutParams (ViewGroup.MarginLayoutParams source)

Parameters
source ViewGroup.MarginLayoutParams

PercentFrameLayout.LayoutParams

added in version 1.0.0
public PercentFrameLayout.LayoutParams (FrameLayout.LayoutParams source)

Parameters
source FrameLayout.LayoutParams

PercentFrameLayout.LayoutParams

added in version 1.0.0
public PercentFrameLayout.LayoutParams (PercentFrameLayout.LayoutParams source)

Parameters
source PercentFrameLayout.LayoutParams

Public methods

getPercentLayoutInfo

added in version 1.0.0
public PercentLayoutHelper.PercentLayoutInfo getPercentLayoutInfo ()

Returns
PercentLayoutHelper.PercentLayoutInfo

Protected methods

setBaseAttributes

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

Parameters
a TypedArray

widthAttr int

heightAttr int