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

LayoutParams

open class LayoutParams : LayoutParams, PercentLayoutHelper.PercentLayoutParams
kotlin.Any
   ↳ android.view.ViewGroup.LayoutParams
   ↳ android.view.ViewGroup.MarginLayoutParams
   ↳ android.widget.FrameLayout.LayoutParams
   ↳ androidx.percentlayout.widget.PercentFrameLayout.LayoutParams

Summary

Public constructors
<init>(c: Context!, attrs: AttributeSet!)

<init>(width: Int, height: Int)

<init>(width: Int, height: Int, gravity: Int)

<init>(source: LayoutParams!)

<init>(source: LayoutParams!)

Public methods
open PercentLayoutHelper.PercentLayoutInfo!

Protected methods
open Unit
setBaseAttributes(a: TypedArray!, widthAttr: Int, heightAttr: Int)

Public constructors

<init>

LayoutParams(
    c: Context!,
    attrs: AttributeSet!)

<init>

LayoutParams(
    width: Int,
    height: Int)

<init>

LayoutParams(
    width: Int,
    height: Int,
    gravity: Int)

<init>

LayoutParams(source: LayoutParams!)

<init>

LayoutParams(source: MarginLayoutParams!)

<init>

LayoutParams(source: LayoutParams!)

<init>

LayoutParams(source: PercentFrameLayout.LayoutParams!)

Public methods

getPercentLayoutInfo

open fun getPercentLayoutInfo(): PercentLayoutHelper.PercentLayoutInfo!

Protected methods

setBaseAttributes

protected open fun setBaseAttributes(
    a: TypedArray!,
    widthAttr: Int,
    heightAttr: Int
): Unit