Android APIs
public static class

BaseCardView.LayoutParams

extends ViewGroup.LayoutParams
java.lang.Object
   ↳ android.view.ViewGroup.LayoutParams
     ↳ android.support.v17.leanback.widget.BaseCardView.LayoutParams

Class Overview

Per-child layout information associated with BaseCardView.

Summary

[Expand]
Inherited XML Attributes
From class android.view.ViewGroup.LayoutParams
Constants
int VIEW_TYPE_EXTRA
int VIEW_TYPE_INFO
int VIEW_TYPE_MAIN
[Expand]
Inherited Constants
From class android.view.ViewGroup.LayoutParams
Fields
public int viewType Card component type for the view associated with these LayoutParams.
[Expand]
Inherited Fields
From class android.view.ViewGroup.LayoutParams
Public Constructors
BaseCardView.LayoutParams(Context c, AttributeSet attrs)
BaseCardView.LayoutParams(int width, int height)
BaseCardView.LayoutParams(ViewGroup.LayoutParams p)
BaseCardView.LayoutParams(BaseCardView.LayoutParams source)
Copy constructor.
[Expand]
Inherited Methods
From class android.view.ViewGroup.LayoutParams
From class java.lang.Object

Constants

public static final int VIEW_TYPE_EXTRA

Constant Value: 2 (0x00000002)

public static final int VIEW_TYPE_INFO

Constant Value: 1 (0x00000001)

public static final int VIEW_TYPE_MAIN

Constant Value: 0 (0x00000000)

Fields

public int viewType

Card component type for the view associated with these LayoutParams.

Public Constructors

public BaseCardView.LayoutParams (Context c, AttributeSet attrs)

public BaseCardView.LayoutParams (int width, int height)

public BaseCardView.LayoutParams (ViewGroup.LayoutParams p)

public BaseCardView.LayoutParams (BaseCardView.LayoutParams source)

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

Parameters
source The layout params to copy from.