Skip to content

Commit

Permalink
Make attributes public
Browse files Browse the repository at this point in the history
Also comment some not-yet-implemented enums
  • Loading branch information
mahozad committed May 29, 2021
1 parent 1f7e90a commit 64a1f18
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 6 deletions.
10 changes: 5 additions & 5 deletions piechart/src/main/res/values/attrs.xml
Expand Up @@ -63,13 +63,13 @@
<attr name="labelsColor" format="color"/>
<attr name="outsideLabelsMargin" format="dimension"/>
<attr name="labelType" format="enum">
<enum name="none" value="0"/>
<!-- <enum name="none" value="0"/>-->
<enum name="inside" value="1"/>
<enum name="outside" value="2"/>
<enum name="insideCircular" value="3"/>
<enum name="outsideCircular" value="4"/>
<enum name="outsideWithPointer" value="5"/>
<enum name="outsideWithLinesOnSides" value="6"/>
<!-- <enum name="insideCircular" value="3"/>-->
<!-- <enum name="outsideCircular" value="4"/>-->
<!-- <enum name="outsideWithPointer" value="5"/>-->
<!-- <enum name="outsideWithLinesOnSides" value="6"/>-->
</attr>
<attr name="holeRatio" format="float"/>
<attr name="overlayRatio" format="float"/>
Expand Down
18 changes: 17 additions & 1 deletion piechart/src/main/res/values/public.xml
Expand Up @@ -4,5 +4,21 @@
Alternately, you can make all resources private by adding an empty <public /> element,
which marks nothing as public, which makes everything else (all resources) private. -->
<resources>
<public name="my_lib_name" type="string"/>
<public name="gap" format="dimension"/>
<public name="slicesPointerLength" format="dimension"/>
<public name="slicesPointerWidth" format="dimension"/>
<public name="gapPosition" format="enum"/>
<public name="startAngle" format="integer"/>
<public name="labelsSize" format="dimension"/>
<public name="labelsFont" format="reference"/>
<public name="labelIconsHeight" format="dimension"/>
<public name="labelIconsMargin" format="dimension"/>
<public name="labelOffset" format="float"/>
<public name="labelsColor" format="color"/>
<public name="outsideLabelsMargin" format="dimension"/>
<public name="labelType" format="enum"/>
<public name="holeRatio" format="float"/>
<public name="overlayRatio" format="float"/>
<public name="overlayAlpha" format="float"/>
<public name="gradientType" format="enum"/>
</resources>

0 comments on commit 64a1f18

Please sign in to comment.