how to convert Bitmap into a View?
<p>I have a back.png file which I need to </p>

<ol>
<li>assign to a variable and convert to bitmap</li>
<li>apply a hue function to it</li>
<li>and put it back</li>
</ol>

<blockquote>
<pre><code>a = BitmapFactory.decodeResource(this.getResources(),R.drawable.back);

b = Hue(a);

View c = (View)findViewById(R.drawable.back);

///need to make View C = Bitmap B ... but how?
</code></pre>
</blockquote>

<p>Here's my code so far, everything works, only I don't know how to assign my bitmap "b" back to view "c" ... any ideas?</p>

<p>Thanks!</p>

<p>backrepeat.xml</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;

    &lt;bitmap xmlns:android="http://schemas.android.com/apk/res/android"
    android:src="@drawable/back" 
    android:tileMode="repeat" /&gt;
</code></pre>

<hr>

<pre><code>AbsoluteLayout al = (AbsoluteLayout)findViewById(R.id.setLay);
Drawable dback = al.getBackground();
a = ((BitmapDrawable)dback).getBitmap();
//b = Hue(a);
d =new BitmapDrawable(a);
al.setBackgroundDrawable(d);
</code></pre>

<p>Edit, tired that one, but converting from a drawable to a bitmap and then back again makes it loos is tileing. I just get one bitmap stretched all over the screen...</p>
