Google は、黒人コミュニティに対する人種平等の促進に取り組んでいます。取り組みを見る

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

LayoutParams(Context c, AttributeSet attrs)
LayoutParams(int width, int height)
LayoutParams(ViewGroup.LayoutParams source)
LayoutParams(ViewGroup.MarginLayoutParams source)

Public methods

PercentLayoutHelper.PercentLayoutInfo getPercentLayoutInfo()

Protected methods

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

Inherited methods

Public constructors

LayoutParams

public LayoutParams (Context c, 
                AttributeSet attrs)

Parameters
c Context

attrs AttributeSet

LayoutParams

public LayoutParams (int width, 
                int height)

Parameters
width int

height int

LayoutParams

public LayoutParams (ViewGroup.LayoutParams source)

Parameters
source ViewGroup.LayoutParams

LayoutParams

public LayoutParams (ViewGroup.MarginLayoutParams source)

Parameters
source ViewGroup.MarginLayoutParams

Public methods

getPercentLayoutInfo

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