1 <?xml version="1.0" encoding="utf-8"?>
3 <declare-styleable name="TreeViewList">
4 <attr name="collapsible" format="boolean" />
5 <attr name="src_expanded" format="reference|color" />
6 <attr name="src_collapsed" format="reference|color" />
7 <attr name="indent_width" format="dimension" />
8 <attr name="handle_trackball_press" format="boolean" />
9 <attr name="indicator_gravity">
10 <!-- Push object to the top of its container, not changing its size. -->
11 <flag name="top" value="0x30" />
12 <!-- Push object to the bottom of its container, not changing its size. -->
13 <flag name="bottom" value="0x50" />
14 <!-- Push object to the left of its container, not changing its size. -->
15 <flag name="left" value="0x03" />
16 <!-- Push object to the right of its container, not changing its size. -->
17 <flag name="right" value="0x05" />
18 <!-- Place object in the vertical center of its container, not changing its size. -->
19 <flag name="center_vertical" value="0x10" />
20 <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
21 <flag name="fill_vertical" value="0x70" />
22 <!-- Place object in the horizontal center of its container, not changing its size. -->
23 <flag name="center_horizontal" value="0x01" />
24 <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
25 <flag name="fill_horizontal" value="0x07" />
26 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
27 <flag name="center" value="0x11" />
28 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
29 <flag name="fill" value="0x77" />
30 <!-- Additional option that can be set to have the top and/or bottom edges of the child clipped to its container's bounds.
31 The clip will be based on the vertical gravity: a top gravity will clip the bottom edge, a bottom gravity will clip the top
32 edge, and neither will clip both edges. -->
33 <flag name="clip_vertical" value="0x80" />
34 <!-- Additional option that can be set to have the left and/or right edges of the child clipped to its container's bounds.
35 The clip will be based on the horizontal gravity: a left gravity will clip the right edge, a right gravity will clip the
36 left edge, and neither will clip both edges. -->
37 <flag name="clip_horizontal" value="0x08" />
39 <attr name="indicator_background" format="reference|color" />
40 <attr name="row_background" format="reference|color" />