Edittext background image
<p>when I set the background of my editText with "setBackgroundResource", everything works fine. When I use "setBackgroundDrawable" with the same image it ends up stretched ...</p>

<p>The result with "setBackgroundResource" on the left, "setBackgroundDrawable" on the right :</p>

<p><a href="http://i.stack.imgur.com/yQi5n.jpg" rel="nofollow">http://i.stack.imgur.com/yQi5n.jpg</a>
(sorry I'm not allowed to post images here ...)</p>

<p>The code :</p>

<pre><code>View chips = EditChipsActivity.this.findViewById(mydID);
chips.setBackgroundResource(R.drawable.chips_filter);
</code></pre>

<p>VS : </p>

<pre><code>View chips = EditChipsActivity.this.findViewById(mydID);
Bitmap bkg = ((BitmapDrawable) getResources().getDrawable(R.drawable.chips_filter)).getBitmap();
BitmapDrawable bkg = new BitmapDrawable(bkg);
chips.setBackgroundDrawable(bkg);
</code></pre>

<p>(I have to create my own bitmap and use the setBackgroundDrawable because I want to draw on the background)</p>
