Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

LayoutParams

open class LayoutParams : MarginLayoutParams
kotlin.Any
   ↳ android.view.ViewGroup.LayoutParams
   ↳ android.view.ViewGroup.MarginLayoutParams
   ↳ androidx.slidingpanelayout.widget.SlidingPaneLayout.LayoutParams

Summary

Public constructors

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

<init>(@NonNull source: LayoutParams)

<init>(@NonNull source: MarginLayoutParams)

<init>(@NonNull c: Context, @Nullable attrs: AttributeSet?)

Properties
Float

The weighted proportion of how much of the leftover space this child should consume after measurement.

Public constructors

<init>

LayoutParams()

<init>

LayoutParams(
    width: Int,
    height: Int)

<init>

LayoutParams(@NonNull source: LayoutParams)

<init>

LayoutParams(@NonNull source: MarginLayoutParams)

<init>

LayoutParams(@NonNull source: SlidingPaneLayout.LayoutParams)

<init>

LayoutParams(
    @NonNull c: Context,
    @Nullable attrs: AttributeSet?)

Properties

weight

var weight: Float

The weighted proportion of how much of the leftover space this child should consume after measurement.