Register now for Android Dev Summit 2019!

PercentLayoutParams

interface PercentLayoutParams
androidx.percentlayout.widget.PercentLayoutHelper.PercentLayoutParams

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!

Public methods

getPercentLayoutInfo

abstract fun getPercentLayoutInfo(): PercentLayoutHelper.PercentLayoutInfo!