title: How to change background/color of the drawable set as background of a view?
body: <p>I have this xml in my <code>drawables</code> folder.</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="rectangle"&gt;
      &lt;corners android:radius="10dp"/&gt;
      &lt;solid android:color="#ffffff"/&gt;
  &lt;/shape&gt;
  </code></pre>
  
  <p>I am basically using this to have round corners for any views that I set this as a background of. But what I want to know is how I can keep the color/background tint of that view dynamic. Because lets say I have three views which all need to be round cornered but all need to be of different color, at the minute I am having to create three different drawable files and set color to each file separately. As I've done in the file above. I've tried using <code>BackgroundTint</code> on the original view but it doesn't work.</p>