LinearLayoutCompat.LayoutParams


class LinearLayoutCompat.LayoutParams : LinearLayout.LayoutParams


Per-child layout information associated with ViewLinearLayout.

Summary

Public constructors

LayoutParams(width: Int, height: Int)
LayoutParams(width: Int, height: Int, weight: Float)

Creates a new set of layout parameters with the specified width, height and weight.

Inherited Constants

From android.view.ViewGroup.LayoutParams
const Int

This property is deprecated.

const Int
const Int

Public constructors

LayoutParams

Added in 1.1.0
LayoutParams(p: ViewGroup.LayoutParams!)

LayoutParams

Added in 1.1.0
LayoutParams(source: ViewGroup.MarginLayoutParams!)

LayoutParams

Added in 1.1.0
LayoutParams(c: Context!, attrs: AttributeSet!)

LayoutParams

Added in 1.1.0
LayoutParams(width: Int, height: Int)

LayoutParams

Added in 1.1.0
LayoutParams(width: Int, height: Int, weight: Float)

Creates a new set of layout parameters with the specified width, height and weight.

Parameters
width: Int

the width, either MATCH_PARENT, WRAP_CONTENT or a fixed size in pixels

height: Int

the height, either MATCH_PARENT, WRAP_CONTENT or a fixed size in pixels

weight: Float

the weight