added in version 24.1.0
belongs to Maven artifact com.android.support:percent:28.0.0-alpha1
Deprecated since version 26.1.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
         ↳ android.support.percent.PercentRelativeLayout.LayoutParams


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

Summary

Inherited constants

From class android.view.ViewGroup.LayoutParams

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)

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

PercentRelativeLayout.LayoutParams

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

Parameters
c Context

attrs AttributeSet

PercentRelativeLayout.LayoutParams

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

Parameters
width int

height int

PercentRelativeLayout.LayoutParams

added in version 24.1.0
PercentRelativeLayout.LayoutParams (ViewGroup.LayoutParams source)

Parameters
source ViewGroup.LayoutParams

PercentRelativeLayout.LayoutParams

added in version 24.1.0
PercentRelativeLayout.LayoutParams (ViewGroup.MarginLayoutParams source)

Parameters
source ViewGroup.MarginLayoutParams

Public methods

getPercentLayoutInfo

added in version 24.1.0
PercentLayoutHelper.PercentLayoutInfo getPercentLayoutInfo ()

Returns
PercentLayoutHelper.PercentLayoutInfo

Protected methods

setBaseAttributes

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

Parameters
a TypedArray

widthAttr int

heightAttr int