Currently I use the MPAndroidChart from GITHUB and draw the piechart to display the two line text, each line has different color and different font size,I check the source codes
PieData data = new PieData(dataSet); pieChart.setCenterText("Total Questions 5" ); pieChart.setCenterTextSize(14f); pieChart.setCenterTextColor(Color.BLUE);