public static final class R.styleable
extends Object
| java.lang.Object | |
| android.support.v7.recyclerview.R.styleable | |
Fields |
|
|---|---|
public static final int[] |
RecyclerView 可以与RecyclerView一起使用的属性。 |
public static int |
RecyclerView_android_descendantFocusability 该符号是 |
public static int |
RecyclerView_android_orientation 该符号是 |
public static int |
RecyclerView_layoutManager 要使用的布局管理器的类名称。 |
public static int |
RecyclerView_reverseLayout 该符号是在 |
public static int |
RecyclerView_spanCount 该符号是在 |
public static int |
RecyclerView_stackFromEnd 该符号是在 |
Public constructors |
|
|---|---|
R.styleable() |
|
继承方法(Inherited methods) |
|
|---|---|
java.lang.Object
|
|
int[] RecyclerView
可以与RecyclerView一起使用的属性。
包含以下属性:
| Attribute | 描述 |
|---|---|
|
Class name of the Layout Manager to be used. |
|
|
|
|
|
|
|
|
|
int RecyclerView_android_descendantFocusability
此符号是在 RecyclerView阵列中可找到 descendantFocusability属性值的偏移量。
必须是下列常数值之一。
| Constant | Value | 描述 |
|---|---|---|
| afterDescendants | 1 | |
| beforeDescendants | 0 | |
| blocksDescendants | 2 |
int RecyclerView_android_orientation
该符号是在 RecyclerView数组中可以找到 orientation属性值的偏移量。
必须是下列常数值之一。
| Constant | Value | 描述 |
|---|---|---|
| horizontal | 0 | |
| vertical | 1 |
int RecyclerView_layoutManager
要使用的布局管理器的类名称。
The class must extend android.support.v7.widget.RecyclerView$LayoutManager and have either a default constructor or constructor with the signature (android.content.Context, android.util.AttributeSet, int, int). If the name starts with a '.', application package is prefixed. Else, if the name contains a '.', the classname is assumed to be a full class name. Else, the recycler view package name (android.support.v7.widget) is prefixed.可能是一个字符串值,使用'\\;' 转义字符如'\\ n'或'\\ uxxxx'作为unicode字符;
int RecyclerView_reverseLayout
此符号是在 RecyclerView阵列中可找到 reverseLayout属性值的偏移量。
可能是一个布尔值,如“ true ”或“ false ”。
int RecyclerView_spanCount
此符号是可在 RecyclerView阵列中找到 spanCount属性值的偏移量。
可能是一个整数值,如“ 100 ”。
int RecyclerView_stackFromEnd
该符号是 RecyclerView数组中可以找到 stackFromEnd属性值的偏移量。
可能是布尔值,如“ true ”或“ false ”。
R.styleable ()