attrs.xml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <!--
  2. ~ Copyright (C) 2013 47 Degrees, LLC
  3. ~ http://47deg.com
  4. ~ hello@47deg.com
  5. ~
  6. ~ Licensed under the Apache License, Version 2.0 (the "License");
  7. ~ you may not use this file except in compliance with the License.
  8. ~ You may obtain a copy of the License at
  9. ~
  10. ~ http://www.apache.org/licenses/LICENSE-2.0
  11. ~
  12. ~ Unless required by applicable law or agreed to in writing, software
  13. ~ distributed under the License is distributed on an "AS IS" BASIS,
  14. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. ~ See the License for the specific language governing permissions and
  16. ~ limitations under the License.
  17. -->
  18. <resources>
  19. <declare-styleable name="SwipeListView">
  20. <attr name="swipeOpenOnLongPress" format="boolean"/>
  21. <attr name="swipeAnimationTime" format="integer"/>
  22. <attr name="swipeOffsetLeft" format="dimension"/>
  23. <attr name="swipeOffsetRight" format="dimension"/>
  24. <attr name="swipeCloseAllItemsWhenMoveList" format="boolean"/>
  25. <attr name="swipeFrontView" format="reference"/>
  26. <attr name="swipeBackView" format="reference"/>
  27. <attr name="swipeMode" format="enum">
  28. <enum name="none" value="0"/>
  29. <enum name="both" value="1"/>
  30. <enum name="right" value="2"/>
  31. <enum name="left" value="3"/>
  32. </attr>
  33. <attr name="swipeActionLeft" format="enum">
  34. <enum name="reveal" value="0"/>
  35. <enum name="dismiss" value="1"/>
  36. <enum name="choice" value="2"/>
  37. </attr>
  38. <attr name="swipeActionRight" format="enum">
  39. <enum name="reveal" value="0"/>
  40. <enum name="dismiss" value="1"/>
  41. <enum name="choice" value="2"/>
  42. </attr>
  43. <attr name="swipeDrawableChecked" format="reference"/>
  44. <attr name="swipeDrawableUnchecked" format="reference"/>
  45. </declare-styleable>
  46. </resources>