Google 致力于为黑人社区推动种族平等。查看具体举措

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!