Donut chart
aar下载链接: https://github.com/tobecrazy/Chart/blob/master/Chart-release-v1.1.aar
layout xml
<cn.dbyl.chart.DonutChart
android:id="@+id/donut_chart_view"
android:layout_width="180dp"
android:layout_height="180dp"
android:layout_gravity="center"
android:layout_margin="50dp"
app:chart_circle_background_color="@color/gray"
app:chart_circle_progress_color="@color/red"
app:chart_isAnimation="false"
app:chart_progress_max_value="100"
app:chart_progress_value="0"
app:chart_textColor="@color/black"
app:chart_textSize="20sp" />