Skip to content

Commit 64a1f18

Browse files
committed
Make attributes public
Also comment some not-yet-implemented enums
1 parent 1f7e90a commit 64a1f18

File tree

2 files changed

+22
-6
lines changed

2 files changed

+22
-6
lines changed

piechart/src/main/res/values/attrs.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@
6363
<attr name="labelsColor" format="color"/>
6464
<attr name="outsideLabelsMargin" format="dimension"/>
6565
<attr name="labelType" format="enum">
66-
<enum name="none" value="0"/>
66+
<!-- <enum name="none" value="0"/>-->
6767
<enum name="inside" value="1"/>
6868
<enum name="outside" value="2"/>
69-
<enum name="insideCircular" value="3"/>
70-
<enum name="outsideCircular" value="4"/>
71-
<enum name="outsideWithPointer" value="5"/>
72-
<enum name="outsideWithLinesOnSides" value="6"/>
69+
<!-- <enum name="insideCircular" value="3"/>-->
70+
<!-- <enum name="outsideCircular" value="4"/>-->
71+
<!-- <enum name="outsideWithPointer" value="5"/>-->
72+
<!-- <enum name="outsideWithLinesOnSides" value="6"/>-->
7373
</attr>
7474
<attr name="holeRatio" format="float"/>
7575
<attr name="overlayRatio" format="float"/>

piechart/src/main/res/values/public.xml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,21 @@
44
Alternately, you can make all resources private by adding an empty <public /> element,
55
which marks nothing as public, which makes everything else (all resources) private. -->
66
<resources>
7-
<public name="my_lib_name" type="string"/>
7+
<public name="gap" format="dimension"/>
8+
<public name="slicesPointerLength" format="dimension"/>
9+
<public name="slicesPointerWidth" format="dimension"/>
10+
<public name="gapPosition" format="enum"/>
11+
<public name="startAngle" format="integer"/>
12+
<public name="labelsSize" format="dimension"/>
13+
<public name="labelsFont" format="reference"/>
14+
<public name="labelIconsHeight" format="dimension"/>
15+
<public name="labelIconsMargin" format="dimension"/>
16+
<public name="labelOffset" format="float"/>
17+
<public name="labelsColor" format="color"/>
18+
<public name="outsideLabelsMargin" format="dimension"/>
19+
<public name="labelType" format="enum"/>
20+
<public name="holeRatio" format="float"/>
21+
<public name="overlayRatio" format="float"/>
22+
<public name="overlayAlpha" format="float"/>
23+
<public name="gradientType" format="enum"/>
824
</resources>

0 commit comments

Comments
 (0)