title: Create Multicolored Pie Chart in Android Studio
body: <p>My app contain a quiz in which I want to show the result of the quiz in a graphical form. </p>
  
  <p>But I don't know about how to create drawable shapes dynamically, and with a pie chart design.</p>
  
  <p>The App has three parameters: </p>
  
  <ul>
  <li>Correct questions</li>
  <li>Incorrect questions</li>
  <li>Not attempted questions</li>
  </ul>
  
  <p>I  have no idea about how to design a pie chart dynamically and I want to add it to a linear layout.</p>
  
  <p>The graphical representation of result will be like following diagram:</p>
  
  <p><img src="https://i.stack.imgur.com/4FwN3.png" alt="Quiz Result"></p>
  
  <p>How can I solve this?</p>