Most visited

Recently visited

BaseCardView.LayoutParams

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


与BaseCardView相关联的每个子布局信息。

Summary

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

与这些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)

复制构造函数。

Inherited methods

From class android.view.ViewGroup.MarginLayoutParams
From class android.view.ViewGroup.LayoutParams
From class java.lang.Object

Constants

VIEW_TYPE_EXTRA

int VIEW_TYPE_EXTRA

常量值:2(0x00000002)

VIEW_TYPE_INFO

int VIEW_TYPE_INFO

常数值:1(0x00000001)

VIEW_TYPE_MAIN

int VIEW_TYPE_MAIN

常量值:0(0x00000000)

Fields

viewType

int viewType

与这些LayoutParams关联的视图的卡片组件类型。

Public constructors

BaseCardView.LayoutParams

BaseCardView.LayoutParams (Context c, 
                AttributeSet attrs)

Parameters
c Context
attrs AttributeSet

BaseCardView.LayoutParams

BaseCardView.LayoutParams (int width, 
                int height)

Parameters
width int
height int

BaseCardView.LayoutParams

BaseCardView.LayoutParams (ViewGroup.LayoutParams p)

Parameters
p ViewGroup.LayoutParams

BaseCardView.LayoutParams

BaseCardView.LayoutParams (BaseCardView.LayoutParams source)

复制构造函数。 克隆源的宽度,高度和视图类型。

Parameters
source BaseCardView.LayoutParams: The layout params to copy from.

Hooray!