title: How to change the color of drawable shape in the layout file
body: <p>I have created a drawable circular shape. I am using this as a background to my linear layout. It is working fine. But the problem is, I want to create 6 circles with different colors. So can i use only one drawable shape and change its color for different circles?</p>
  
  <p>This is my drawable circular shape</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;shape
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:shape="oval"
  &gt;
  
  &lt;solid
      android:color="@color/colorPrimary"
      /&gt;
  &lt;size
      android:width="30dp"
      android:height="30dp"/&gt;
  &lt;/shape&gt;
  </code></pre>
  
  <p>I want to create this layout using drawable circular shape with different colors.</p>
  
  <p>layout:
  <a href="https://i.stack.imgur.com/ZyrK5.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/ZyrK5.jpg" alt="enter image description here"></a></p>