# PercentLayoutHelper.PercentLayoutParams

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  
belongs to Maven artifact com.android.support:percent:28.0.0-alpha1  
Deprecated since version 26.1.0  
Summary:[Methods](https://developer.android.com/reference/android/support/percent/PercentLayoutHelper.PercentLayoutParams#pubmethods)\|[\[Expand All\]](https://developer.android.com/reference/android/support/percent/PercentLayoutHelper.PercentLayoutParams#)  

# PercentLayoutHelper.PercentLayoutParams

| This package is part of the Android[support library](https://developer.android.com/topic/libraries/support-library)which is no longer maintained. The support library has been superseded by[AndroidX](https://developer.android.com/jetpack/androidx)which is part of[Jetpack](https://developer.android.com/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider[migrating](https://developer.android.com/jetpack/androidx/migrate)existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library[class mappings](https://developer.android.com/jetpack/androidx/migrate/class-mappings).

`
public
static


interface
PercentLayoutHelper.PercentLayoutParams
`  
`


`

|-----------------------------------------------------------------|
| android.support.percent.PercentLayoutHelper.PercentLayoutParams |

|---|---|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/percent/PercentLayoutHelper.PercentLayoutParams#)Known Indirect Subclasses [PercentFrameLayout.LayoutParams](https://developer.android.com/reference/android/support/percent/PercentFrameLayout.LayoutParams),[PercentRelativeLayout.LayoutParams](https://developer.android.com/reference/android/support/percent/PercentRelativeLayout.LayoutParams) |------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------| | [PercentFrameLayout.LayoutParams](https://developer.android.com/reference/android/support/percent/PercentFrameLayout.LayoutParams)       | *This class was deprecated in API level 26.1.0. this class is deprecated along with its parent class.* | | [PercentRelativeLayout.LayoutParams](https://developer.android.com/reference/android/support/percent/PercentRelativeLayout.LayoutParams) | *This class was deprecated in API level 26.1.0. this class is deprecated along with its parent class.* | ||

<br />

*** ** * ** ***

<br />

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

If a layout wants to support percentage based dimensions and use this helper class, its`LayoutParams`subclass must implement this interface. Your`LayoutParams`subclass should contain an instance of`PercentLayoutInfo`and the implementation of this interface should be a simple accessor.

## Summary

|                                                                                                                                                     ### Public methods                                                                                                                                                     ||
|------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` abstract `[PercentLayoutHelper.PercentLayoutInfo](https://developer.android.com/reference/android/support/percent/PercentLayoutHelper.PercentLayoutInfo) | ` `[getPercentLayoutInfo](https://developer.android.com/reference/android/support/percent/PercentLayoutHelper.PercentLayoutParams#getPercentLayoutInfo())`() ` |

## Public methods

### getPercentLayoutInfo

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
PercentLayoutHelper.PercentLayoutInfo getPercentLayoutInfo ()
```

<br />

<br />

|                                                                        Returns                                                                         ||
|------------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [PercentLayoutHelper.PercentLayoutInfo](https://developer.android.com/reference/android/support/percent/PercentLayoutHelper.PercentLayoutInfo) | <br /> |

-

  ## Interfaces

  - [PercentLayoutHelper.PercentLayoutParams](https://developer.android.com/reference/android/support/percent/PercentLayoutHelper.PercentLayoutParams)
-

  ## Classes

  - [PercentFrameLayout](https://developer.android.com/reference/android/support/percent/PercentFrameLayout)
  - [PercentFrameLayout.LayoutParams](https://developer.android.com/reference/android/support/percent/PercentFrameLayout.LayoutParams)
  - [PercentLayoutHelper](https://developer.android.com/reference/android/support/percent/PercentLayoutHelper)
  - [PercentLayoutHelper.PercentLayoutInfo](https://developer.android.com/reference/android/support/percent/PercentLayoutHelper.PercentLayoutInfo)
  - [PercentRelativeLayout](https://developer.android.com/reference/android/support/percent/PercentRelativeLayout)
  - [PercentRelativeLayout.LayoutParams](https://developer.android.com/reference/android/support/percent/PercentRelativeLayout.LayoutParams)
  - [R](https://developer.android.com/reference/android/support/percent/R)
  - [R.attr](https://developer.android.com/reference/android/support/percent/R.attr)
  - [R.bool](https://developer.android.com/reference/android/support/percent/R.bool)
  - [R.color](https://developer.android.com/reference/android/support/percent/R.color)
  - [R.dimen](https://developer.android.com/reference/android/support/percent/R.dimen)
  - [R.drawable](https://developer.android.com/reference/android/support/percent/R.drawable)
  - [R.id](https://developer.android.com/reference/android/support/percent/R.id)
  - [R.integer](https://developer.android.com/reference/android/support/percent/R.integer)
  - [R.layout](https://developer.android.com/reference/android/support/percent/R.layout)
  - [R.string](https://developer.android.com/reference/android/support/percent/R.string)
  - [R.style](https://developer.android.com/reference/android/support/percent/R.style)
  - [R.styleable](https://developer.android.com/reference/android/support/percent/R.styleable)