Simplest way to put text on drawable programmatically
<p>I have this icon: <img src="https://i.stack.imgur.com/buB2i.png" alt="icon"></p>

<p>I am going to work with it as <code>drawable</code>.</p>

<pre><code>Drawable myIcon = getResources().getDrawable( R.drawable.icon );
</code></pre>

<p>I need programmaticaly put some text on it (file extension).</p>

<p>This is my desired result: <img src="https://i.stack.imgur.com/ZYyS5.png" alt="desired result">.</p>

<p>I can't make several static icons because I can receive arbitrary file extension</p>