public
static
class
BaseCardView.LayoutParams
extends FrameLayout.LayoutParams
java.lang.Object | ||||
↳ | android.view.ViewGroup.LayoutParams | |||
↳ | android.view.ViewGroup.MarginLayoutParams | |||
↳ | android.widget.FrameLayout.LayoutParams | |||
↳ | android.support.v17.leanback.widget.BaseCardView.LayoutParams |
Per-child layout information associated with BaseCardView.
Inherited XML attributes | |
---|---|
From
class
android.widget.FrameLayout.LayoutParams
| |
From
class
android.view.ViewGroup.MarginLayoutParams
| |
From
class
android.view.ViewGroup.LayoutParams
|
Constants | |
---|---|
int |
VIEW_TYPE_EXTRA
|
int |
VIEW_TYPE_INFO
|
int |
VIEW_TYPE_MAIN
|
Inherited constants |
---|
From
class
android.widget.FrameLayout.LayoutParams
|
From
class
android.view.ViewGroup.LayoutParams
|
Fields | |
---|---|
public
int |
viewType
Card component type for the view associated with these LayoutParams. |
Inherited fields |
---|
From
class
android.widget.FrameLayout.LayoutParams
|
From
class
android.view.ViewGroup.MarginLayoutParams
|
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. |
Inherited methods | |
---|---|
From
class
android.view.ViewGroup.MarginLayoutParams
| |
From
class
android.view.ViewGroup.LayoutParams
| |
From
class
java.lang.Object
|
int VIEW_TYPE_EXTRA
Constant Value: 2 (0x00000002)
int VIEW_TYPE_INFO
Constant Value: 1 (0x00000001)
int VIEW_TYPE_MAIN
Constant Value: 0 (0x00000000)
int viewType
Card component type for the view associated with these LayoutParams.
BaseCardView.LayoutParams (Context c, AttributeSet attrs)
Parameters | |
---|---|
c |
Context
|
attrs |
AttributeSet
|
BaseCardView.LayoutParams (int width, int height)
Parameters | |
---|---|
width |
int
|
height |
int
|
BaseCardView.LayoutParams (ViewGroup.LayoutParams p)
Parameters | |
---|---|
p |
ViewGroup.LayoutParams
|
BaseCardView.LayoutParams (BaseCardView.LayoutParams source)
Copy constructor. Clones the width, height, and View Type of the source.
Parameters | |
---|---|
source |
BaseCardView.LayoutParams :
The layout params to copy from.
|