Android 12 Developer Preview is here! Try it out, and give us your feedback!
added in version 24.1.0
belongs to Maven artifact
Deprecated since version 26.1.0


public static interface PercentLayoutHelper.PercentLayoutParams
Known Indirect Subclasses

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.


Public methods

abstract PercentLayoutHelper.PercentLayoutInfo getPercentLayoutInfo()

Public methods


added in version 24.1.0
PercentLayoutHelper.PercentLayoutInfo getPercentLayoutInfo ()