Merge "Add custom attributes to DonutView."

This commit is contained in:
Rajeev Kumar
2017-07-11 19:02:17 +00:00
committed by Android (Google) Code Review
2 changed files with 55 additions and 12 deletions

View File

@@ -167,4 +167,12 @@
<attr name="android:gravity" />
</declare-styleable>
<!-- For DonutView -->
<declare-styleable name="DonutView">
<attr name="meterBackgroundColor" format="color" />
<attr name="meterConsumedColor" format="color" />
<attr name="applyColorAccent" format="boolean" />
<attr name="showPercentString" format="boolean" />
<attr name="thickness" format="dimension" />
</declare-styleable>
</resources>