belongs to Maven artifact androidx.percentlayout:percentlayout:1.0.0-alpha1

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 is deprecated.
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

PercentRelativeLayout.LayoutParams (Context c, 
                AttributeSet attrs)

Parameters
c Context

attrs AttributeSet

PercentRelativeLayout.LayoutParams

PercentRelativeLayout.LayoutParams (int width, 
                int height)

Parameters
width int

height int

PercentRelativeLayout.LayoutParams

PercentRelativeLayout.LayoutParams (ViewGroup.LayoutParams source)

Parameters
source ViewGroup.LayoutParams

PercentRelativeLayout.LayoutParams

PercentRelativeLayout.LayoutParams (ViewGroup.MarginLayoutParams source)

Parameters
source ViewGroup.MarginLayoutParams

Public methods

getPercentLayoutInfo

PercentLayoutHelper.PercentLayoutInfo getPercentLayoutInfo ()

Returns
PercentLayoutHelper.PercentLayoutInfo

Protected methods

setBaseAttributes

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

Parameters
a TypedArray

widthAttr int

heightAttr int