LayoutParams
open class LayoutParams : MarginLayoutParams
kotlin.Any | |||
↳ | android.view.ViewGroup.LayoutParams | ||
↳ | android.view.ViewGroup.MarginLayoutParams | ||
↳ | androidx.slidingpanelayout.widget.SlidingPaneLayout.LayoutParams |
Summary
Public constructors | |
---|---|
<init>() |
|
<init>(@NonNull source: LayoutParams) |
|
<init>(@NonNull source: MarginLayoutParams) |
|
<init>(@NonNull source: SlidingPaneLayout.LayoutParams) |
|
<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(@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.