Skip to content

Commit

Permalink
renamed some attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
valkriaine committed May 4, 2022
1 parent a6e809e commit 7afbb99
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions bouncy/src/main/res/values/attrs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,21 @@
<declare-styleable name="BouncyRecyclerView">
<attr name="recyclerview_overscroll_animation_size" format="float"/>
<attr name="recyclerview_fling_animation_size" format="float"/>

<attr name="allow_drag_reorder" format="boolean"/>
<attr name="allow_item_swipe" format="boolean"/>

<attr name="recyclerview_damping_ratio" format="integer">
<enum name="DAMPING_RATIO_NO_BOUNCY" value="0" />
<enum name="DAMPING_RATIO_LOW_BOUNCY" value="1" />
<enum name="DAMPING_RATIO_MEDIUM_BOUNCY" value="2" />
<enum name="DAMPING_RATIO_HIGH_BOUNCY" value="3" />
<enum name="RECYCLERVIEW_DAMPING_RATIO_NO_BOUNCY" value="0" />
<enum name="RECYCLERVIEW_DAMPING_RATIO_LOW_BOUNCY" value="1" />
<enum name="RECYCLERVIEW_DAMPING_RATIO_MEDIUM_BOUNCY" value="2" />
<enum name="RECYCLERVIEW_DAMPING_RATIO_HIGH_BOUNCY" value="3" />
</attr>
<attr name="recyclerview_stiffness" format="integer">
<enum name="STIFFNESS_VERY_LOW" value="0" />
<enum name="STIFFNESS_LOW" value="1" />
<enum name="STIFFNESS_MEDIUM" value="2" />
<enum name="STIFFNESS_HIGH" value="3" />
<enum name="RECYCLERVIEW_STIFFNESS_VERY_LOW" value="0" />
<enum name="RECYCLERVIEW_STIFFNESS_LOW" value="1" />
<enum name="RECYCLERVIEW_STIFFNESS_MEDIUM" value="2" />
<enum name="RECYCLERVIEW_STIFFNESS_HIGH" value="3" />
</attr>
</declare-styleable>
</resources>

0 comments on commit 7afbb99

Please sign in to comment.