1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2015 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16 17<resources> 18 <declare-styleable name="RecyclerView"> 19 <!-- Class name of the Layout Manager to be used. 20 <p/> 21 The class must extend android.support.v7.widget.RecyclerView$LayoutManager 22 and have either a default constructor or constructor with the signature 23 (android.content.Context, android.util.AttributeSet, int, int). 24 <p/> 25 If the name starts with a '.', application package is prefixed. 26 Else, if the name contains a '.', the classname is assumed to be a full class name. 27 Else, the recycler view package name (android.support.v7.widget) is prefixed. --> 28 <attr name="layoutManager" format="string" /> 29 30 <!-- ============================= --> 31 <!-- Attributes for Layout Manager --> 32 <!-- ============================= --> 33 <eat-comment /> 34 35 <attr name="android:orientation" /> 36 <attr name="android:descendantFocusability" /> 37 <attr name="spanCount" format="integer"/> 38 <attr name="reverseLayout" format="boolean" /> 39 <attr name="stackFromEnd" format="boolean" /> 40 </declare-styleable> 41</resources>