added in version 1.0.0
belongs to Maven artifact androidx.percentlayout:percentlayout:1.0.0-beta01
Deprecated since version 1.0.0

PercentRelativeLayout.LayoutParams

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

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)

Inherited methods

Public constructors

PercentRelativeLayout.LayoutParams

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

Parameters
c Context

attrs AttributeSet

PercentRelativeLayout.LayoutParams

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

Parameters
width int

height int

PercentRelativeLayout.LayoutParams

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

Parameters
source ViewGroup.LayoutParams

PercentRelativeLayout.LayoutParams

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

Parameters
source ViewGroup.MarginLayoutParams

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