Android: Trying to make a simple slide show app
<p>I'm trying to make a slide show app, but cannot figure out how to get the pictures to display in the background. This is what I was going to do</p>

<p>I was going to use the background property of a  <code>LinearLayout</code>.
The problem is that the <code>setBackgound</code> takes in a resourceid, </p>

<p>From previous experience, you cannot have a lot of images stored as resoucrs,
so I was going to store them in the asset folder and load them in using the following code</p>

<pre><code>try {
               String FileName=new String("background");
                AssetManager assetManager= getAssets();
               InputStream inputStream;
               inputStream=assetManager.open(FileName);  
               Bitmap Background=BitmapFactory.decodeStream(inputStream);

                } catch( IOException e)
                {
</code></pre>

<p>Is there a way to load a asset into the background property?</p>

<p>I have used a ImageView  before, but I wanted the images to be in the background so I could draw the controls ontop of the image.  I'v seen this done in other Gallery programs.</p>

<p>Does anybody now a way to load pictures from assets and have them in the background with the controls on top, or another way to do this?</p>
