Android APIs
public static final class

R.attr

extends Object
java.lang.Object
   ↳ android.support.v7.recyclerview.R.attr

Summary

Fields
public static int layoutManager Class name of the Layout Manager to be used.
public static int reverseLayout

Must be a boolean value, either "true" or "false".

public static int spanCount

Must be an integer value, such as "100".

public static int stackFromEnd

Must be a boolean value, either "true" or "false".

Public Constructors
R.attr()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static int layoutManager

Class name of the Layout Manager to be used.

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.

Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

public static int reverseLayout

Must be a boolean value, either "true" or "false".

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

public static int spanCount

Must be an integer value, such as "100".

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

public static int stackFromEnd

Must be a boolean value, either "true" or "false".

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

Public Constructors

public R.attr ()