attrs.xml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. <declare-styleable name="FlowLayout">
  47. <attr name="horizontalSpacing" format="dimension"/>
  48. <attr name="verticalSpacing" format="dimension"/>
  49. <attr name="orientation" format="enum">
  50. <enum name="horizontal" value="0"/>
  51. <enum name="vertical" value="1"/>
  52. </attr>
  53. <attr name="debugDraw" format="boolean" />
  54. </declare-styleable>
  55. <declare-styleable name="FlowLayout_LayoutParams">
  56. <attr name="layout_newLine" format="boolean"/>
  57. <attr name="layout_horizontalSpacing" format="dimension"/>
  58. <attr name="layout_verticalSpacing" format="dimension"/>
  59. </declare-styleable>
  60. </resources>