|
24 | 24 |
|
25 | 25 | <!-- values must match the ordinal of its corresponding |
26 | 26 | element in the AnchorPosition enum. --> |
| 27 | + <attr name="domainLabelAnchorPosition" format="enum"> |
| 28 | + <enum name="top_middle" value="0"/> |
| 29 | + <enum name="left_top" value="1"/> |
| 30 | + <enum name="left_middle" value="2"/> |
| 31 | + <enum name="left_bottom" value="3"/> |
| 32 | + <enum name="right_top" value="4"/> |
| 33 | + <enum name="right_middle" value="5"/> |
| 34 | + <enum name="right_bottom" value="6"/> |
| 35 | + <enum name="bottom_middle" value="7"/> |
| 36 | + <enum name="center" value="8"/> |
| 37 | + </attr> |
| 38 | + |
| 39 | + <attr name="rangeLabelAnchorPosition" format="enum"> |
| 40 | + <enum name="top_middle" value="0"/> |
| 41 | + <enum name="left_top" value="1"/> |
| 42 | + <enum name="left_middle" value="2"/> |
| 43 | + <enum name="left_bottom" value="3"/> |
| 44 | + <enum name="right_top" value="4"/> |
| 45 | + <enum name="right_middle" value="5"/> |
| 46 | + <enum name="right_bottom" value="6"/> |
| 47 | + <enum name="bottom_middle" value="7"/> |
| 48 | + <enum name="center" value="8"/> |
| 49 | + </attr> |
| 50 | + |
27 | 51 | <attr name="legendAnchorPosition" format="enum"> |
28 | 52 | <enum name="top_middle" value="0"/> |
29 | 53 | <enum name="left_top" value="1"/> |
|
36 | 60 | <enum name="center" value="8"/> |
37 | 61 | </attr> |
38 | 62 |
|
| 63 | + <attr name="domainLabelHeightSizeLayoutType" format="enum"> |
| 64 | + <enum name="absolute" value="0"/> |
| 65 | + <enum name="relative" value="1"/> |
| 66 | + <enum name="fill" value="2"/> |
| 67 | + </attr> |
| 68 | + |
| 69 | + <attr name="domainLabelWidthSizeLayoutType" format="enum"> |
| 70 | + <enum name="absolute" value="0"/> |
| 71 | + <enum name="relative" value="1"/> |
| 72 | + <enum name="fill" value="2"/> |
| 73 | + </attr> |
| 74 | + |
| 75 | + <attr name="rangeLabelHeightSizeLayoutType" format="enum"> |
| 76 | + <enum name="absolute" value="0"/> |
| 77 | + <enum name="relative" value="1"/> |
| 78 | + <enum name="fill" value="2"/> |
| 79 | + </attr> |
| 80 | + |
| 81 | + <attr name="rangeLabelWidthSizeLayoutType" format="enum"> |
| 82 | + <enum name="absolute" value="0"/> |
| 83 | + <enum name="relative" value="1"/> |
| 84 | + <enum name="fill" value="2"/> |
| 85 | + </attr> |
| 86 | + |
39 | 87 | <attr name="legendHeightSizeLayoutType" format="enum"> |
40 | 88 | <enum name="absolute" value="0"/> |
41 | 89 | <enum name="relative" value="1"/> |
|
60 | 108 | <enum name="fill" value="2"/> |
61 | 109 | </attr> |
62 | 110 |
|
| 111 | + <attr name="domainLabelLayoutStyleX" format="enum"> |
| 112 | + <enum name="absolute_from_left" value="0"/> |
| 113 | + <enum name="absolute_from_right" value="1"/> |
| 114 | + <enum name="absolute_from_center" value="2"/> |
| 115 | + <enum name="relative_from_left" value="3"/> |
| 116 | + <enum name="relative_from_right" value="4"/> |
| 117 | + <enum name="relative_from_center" value="5"/> |
| 118 | + </attr> |
| 119 | + |
| 120 | + <attr name="domainLabelLayoutStyleY" format="enum"> |
| 121 | + <enum name="absolute_from_top" value="0"/> |
| 122 | + <enum name="absolute_from_bottom" value="1"/> |
| 123 | + <enum name="absolute_from_center" value="2"/> |
| 124 | + <enum name="relative_from_top" value="3"/> |
| 125 | + <enum name="relative_from_bottom" value="4"/> |
| 126 | + <enum name="relative_from_center" value="5"/> |
| 127 | + </attr> |
| 128 | + |
| 129 | + <attr name="rangeLabelLayoutStyleX" format="enum"> |
| 130 | + <enum name="absolute_from_left" value="0"/> |
| 131 | + <enum name="absolute_from_right" value="1"/> |
| 132 | + <enum name="absolute_from_center" value="2"/> |
| 133 | + <enum name="relative_from_left" value="3"/> |
| 134 | + <enum name="relative_from_right" value="4"/> |
| 135 | + <enum name="relative_from_center" value="5"/> |
| 136 | + </attr> |
| 137 | + |
| 138 | + <attr name="rangeLabelLayoutStyleY" format="enum"> |
| 139 | + <enum name="absolute_from_top" value="0"/> |
| 140 | + <enum name="absolute_from_bottom" value="1"/> |
| 141 | + <enum name="absolute_from_center" value="2"/> |
| 142 | + <enum name="relative_from_top" value="3"/> |
| 143 | + <enum name="relative_from_bottom" value="4"/> |
| 144 | + <enum name="relative_from_center" value="5"/> |
| 145 | + </attr> |
| 146 | + |
63 | 147 | <attr name="legendLayoutStyleX" format="enum"> |
64 | 148 | <enum name="absolute_from_left" value="0"/> |
65 | 149 | <enum name="absolute_from_right" value="1"/> |
|
91 | 175 |
|
92 | 176 | <!-- XYPlot --> |
93 | 177 | <declare-styleable name="xy.XYPlot" parent="@style/Plot"> |
| 178 | + |
| 179 | + <!-- domain label --> |
94 | 180 | <attr name="domainLabel" format="string"/> |
95 | 181 | <attr name="domainLabelTextColor" format="color"/> |
96 | 182 | <attr name="domainLabelTextSize" format="dimension"/> |
| 183 | + <attr name="domainLabelHeightSizeLayoutType"/> |
| 184 | + <attr name="domainLabelWidthSizeLayoutType"/> |
| 185 | + <attr name="domainLabelHeight" format="dimension|float"/> |
| 186 | + <attr name="domainLabelWidth" format="dimension|float"/> |
| 187 | + <attr name="domainLabelLayoutStyleX"/> |
| 188 | + <attr name="domainLabelLayoutStyleY"/> |
| 189 | + <attr name="domainLabelPositionX" format="dimension|float"/> |
| 190 | + <attr name="domainLabelPositionY" format="dimension|float"/> |
| 191 | + <attr name="domainLabelAnchorPosition"/> |
| 192 | + <attr name="domainLabelVisible" format="boolean"/> |
| 193 | + |
| 194 | + <!-- range label --> |
97 | 195 | <attr name="rangeLabel" format="string"/> |
98 | 196 | <attr name="rangeLabelTextColor" format="color"/> |
99 | 197 | <attr name="rangeLabelTextSize" format="dimension"/> |
| 198 | + <attr name="rangeLabelHeightSizeLayoutType"/> |
| 199 | + <attr name="rangeLabelWidthSizeLayoutType"/> |
| 200 | + <attr name="rangeLabelHeight" format="dimension|float"/> |
| 201 | + <attr name="rangeLabelWidth" format="dimension|float"/> |
| 202 | + <attr name="rangeLabelLayoutStyleX"/> |
| 203 | + <attr name="rangeLabelLayoutStyleY"/> |
| 204 | + <attr name="rangeLabelPositionX" format="dimension|float"/> |
| 205 | + <attr name="rangeLabelPositionY" format="dimension|float"/> |
| 206 | + <attr name="rangeLabelAnchorPosition"/> |
| 207 | + <attr name="rangeLabelVisible" format="boolean"/> |
100 | 208 |
|
101 | 209 | <!-- graph widget margin / padding --> |
102 | 210 | <attr name="graphMarginTop" format="dimension"/> |
|
132 | 240 | <attr name="rangeOriginTickLabelTextColor" format="color"/> |
133 | 241 | <attr name="domainOriginTickLabelTextColor" format="color"/> |
134 | 242 | <attr name="gridBackgroundColor" format="color"/> |
| 243 | + |
| 244 | + <!-- legend widget --> |
135 | 245 | <attr name="legendHeightSizeLayoutType"/> |
136 | 246 | <attr name="legendWidthSizeLayoutType"/> |
137 | 247 | <attr name="legendHeight" format="dimension|float"/> |
138 | 248 | <attr name="legendWidth" format="dimension|float"/> |
| 249 | + <attr name="legendLayoutStyleX"/> |
| 250 | + <attr name="legendLayoutStyleY"/> |
| 251 | + <attr name="legendPositionX" format="dimension|float"/> |
| 252 | + <attr name="legendPositionY" format="dimension|float"/> |
| 253 | + <attr name="legendAnchorPosition"/> |
139 | 254 | <attr name="legendTextSize" format="dimension"/> |
140 | 255 | <attr name="legendTextColor" format="color"/> |
141 | 256 | <attr name="legendIconHeightSizeLayoutType"/> |
142 | 257 | <attr name="legendIconWidthSizeLayoutType"/> |
143 | 258 | <attr name="legendIconHeight" format="dimension|float"/> |
144 | 259 | <attr name="legendIconWidth" format="dimension|float"/> |
145 | | - <attr name="legendPositionX" format="dimension|float"/> |
146 | | - <attr name="legendPositionY" format="dimension|float"/> |
147 | | - <attr name="legendLayoutStyleX"/> |
148 | | - <attr name="legendLayoutStyleY"/> |
149 | | - <attr name="legendAnchorPosition"/> |
150 | 260 | <attr name="legendVisible" format="boolean"/> |
151 | 261 | </declare-styleable> |
152 | 262 |
|
|
0 commit comments