# PercentLayoutHelper.PercentLayoutParams

Artifact: [androidx.percentlayout:percentlayout](https://developer.android.com/jetpack/androidx/releases/percentlayout) [View Source](https://cs.android.com/search?q=file:androidx/percentlayout/widget/PercentLayoutHelper.java+class:androidx.percentlayout.widget.PercentLayoutHelper.PercentLayoutParams) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/percentlayout#1.0.0) Deprecated in [1.0.0](https://developer.android.com/jetpack/androidx/releases/percentlayout#1.0.0)

*** ** * ** ***


```
public interface PercentLayoutHelper.PercentLayoutParams
```

<br />

Known direct subclasses [PercentFrameLayout.LayoutParams](https://developer.android.com/reference/androidx/percentlayout/widget/PercentFrameLayout.LayoutParams), [PercentRelativeLayout.LayoutParams](https://developer.android.com/reference/androidx/percentlayout/widget/PercentRelativeLayout.LayoutParams)

|---|---|
| `https://developer.android.com/reference/androidx/percentlayout/widget/PercentFrameLayout.LayoutParams` | **This class is deprecated.** this class is deprecated along with its parent class. <br /> |
| `https://developer.android.com/reference/androidx/percentlayout/widget/PercentRelativeLayout.LayoutParams` | **This class is deprecated.** this class is deprecated along with its parent class. <br /> |

*** ** * ** ***

> [!CAUTION]
> **This interface is deprecated.**   
>
> 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 https://developer.android.com/reference/androidx/percentlayout/widget/PercentLayoutHelper.PercentLayoutInfo` | `[getPercentLayoutInfo](https://developer.android.com/reference/androidx/percentlayout/widget/PercentLayoutHelper.PercentLayoutParams#getPercentLayoutInfo())()` **This method is deprecated.** Deprecated in Java |

## Public methods

### getPercentLayoutInfo

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/percentlayout#1.0.0) Deprecated in [1.0.0](https://developer.android.com/jetpack/androidx/releases/percentlayout#1.0.0)

```
abstract PercentLayoutHelper.PercentLayoutInfo [getPercentLayoutInfo](https://developer.android.com/reference/androidx/percentlayout/widget/PercentLayoutHelper.PercentLayoutParams#getPercentLayoutInfo())()
```

> [!CAUTION]
> **This method is deprecated.**   
> Deprecated in Java