xref: /aosp_15_r20/prebuilts/sdk/current/support/v7/recyclerview/res/values/values.xml (revision 344a7f5ef16c479e7a7f54ee6567a9d112f9e72b)
1<?xml version="1.0" encoding="utf-8"?>
2<resources>
3    <declare-styleable name="RecyclerView">
4        <!-- Class name of the Layout Manager to be used.
5        <p/>
6        The class must extandroidx.recyclerview.widget.RecyclerViewView$LayoutManager
7        and have either a default constructor or constructor with the signature
8        (android.content.Context, android.util.AttributeSet, int, int).
9         <p/>
10         If the name starts with a '.', application package is prefixed.
11         Else, if the name contains a '.', the classname is assumed to be a full class name.
12         Else, the recycler view package naandroidx.appcompat.widgetdget) is prefixed. -->
13        <attr format="string" name="layoutManager"/>
14
15        <!-- ============================= -->
16        <!-- Attributes for Layout Manager -->
17        <!-- ============================= -->
18        <eat-comment/>
19
20        <attr name="android:orientation"/>
21        <attr name="android:descendantFocusability"/>
22        <attr format="integer" name="spanCount"/>
23        <attr format="boolean" name="reverseLayout"/>
24        <attr format="boolean" name="stackFromEnd"/>
25        <attr format="boolean" name="fastScrollEnabled"/>
26        <attr format="reference" name="fastScrollVerticalThumbDrawable"/>
27        <attr format="reference" name="fastScrollVerticalTrackDrawable"/>
28        <attr format="reference" name="fastScrollHorizontalThumbDrawable"/>
29        <attr format="reference" name="fastScrollHorizontalTrackDrawable"/>
30    </declare-styleable>
31    <dimen name="fastscroll_default_thickness">8dp</dimen>
32    <dimen name="fastscroll_margin">0dp</dimen>
33    <dimen name="fastscroll_minimum_range">50dp</dimen>
34    <dimen name="item_touch_helper_max_drag_scroll_per_frame">20dp</dimen>
35    <dimen name="item_touch_helper_swipe_escape_max_velocity">800dp</dimen>
36    <dimen name="item_touch_helper_swipe_escape_velocity">120dp</dimen>
37    <item name="item_touch_helper_previous_elevation" type="id"/>
38</resources>