<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2015 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <resources> <declare-styleable name="RecyclerView"> <!-- Class name of the Layout Manager to be used. <p/> 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). <p/> 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. --> <attr name="layoutManager" format="string" /> <!-- ============================= --> <!-- Attributes for Layout Manager --> <!-- ============================= --> <eat-comment /> <attr name="android:orientation" /> <attr name="android:descendantFocusability" /> <attr name="spanCount" format="integer"/> <attr name="reverseLayout" format="boolean" /> <attr name="stackFromEnd" format="boolean" /> <attr name="fastScrollEnabled" format="boolean" /> <attr name="fastScrollVerticalThumbDrawable" format="reference" /> <attr name="fastScrollVerticalTrackDrawable" format="reference" /> <attr name="fastScrollHorizontalThumbDrawable" format="reference" /> <attr name="fastScrollHorizontalTrackDrawable" format="reference" /> </declare-styleable> </resources>