BaseCardView.LayoutParams


class BaseCardView.LayoutParams : FrameLayout.LayoutParams


Per-child layout information associated with BaseCardView.

Summary

Constants

const Int
const Int
const Int

Public constructors

Copy constructor.

LayoutParams(width: Int, height: Int)

Public properties

Int
@ViewDebug.ExportedProperty(category = "layout", mapping = [@ViewDebug.IntToString(from = 0, to = "MAIN"), @ViewDebug.IntToString(from = 1, to = "INFO"), @ViewDebug.IntToString(from = 2, to = "EXTRA")])
viewType

Card component type for the view associated with these LayoutParams.

Inherited Constants

From android.widget.FrameLayout.LayoutParams
From android.view.ViewGroup.LayoutParams
const Int

This property is deprecated.

const Int
const Int

Constants

VIEW_TYPE_EXTRA

Added in 1.1.0
const val VIEW_TYPE_EXTRA = 2: Int

VIEW_TYPE_INFO

Added in 1.1.0
const val VIEW_TYPE_INFO = 1: Int

VIEW_TYPE_MAIN

Added in 1.1.0
const val VIEW_TYPE_MAIN = 0: Int

Public constructors

LayoutParams

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

LayoutParams

Added in 1.1.0
LayoutParams(source: BaseCardView.LayoutParams!)

Copy constructor. Clones the width, height, and View Type of the source.

Parameters
source: BaseCardView.LayoutParams!

The layout params to copy from.

LayoutParams

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

LayoutParams

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

Public properties

viewType

Added in 1.1.0
@ViewDebug.ExportedProperty(category = "layout", mapping = [@ViewDebug.IntToString(from = 0, to = "MAIN"), @ViewDebug.IntToString(from = 1, to = "INFO"), @ViewDebug.IntToString(from = 2, to = "EXTRA")])
val viewTypeInt

Card component type for the view associated with these LayoutParams.