Array Of Drawable Images
<p>Ok so first of I will take you through the basics of my App. So far you take picture using the camera which then gets saved into a folder. Once the picture has been took a new Activity opens and shows the picture on screen in a <code>ImageView</code>.</p>

<p>The effect I am trying to achive is something along the lines of being able to create png layers over the top of the picture in the <code>ImageView</code> with the onClick Event. So say I have 5 transparent png's I want to have five onClick events which with each touch of the screen a new png image will get displayed over the top of the picture in the <code>ImageView</code> so it would take 5 onClick (touch of screen) to show all the transparent png's over the top of the picture.</p>

<p>I think I am nearly there with the code below but I think I need to create an <code>array</code> of the images in the <code>drawable</code> folder that need to be displayed with each onClick event, I think the array should be <code>nextBitmap</code> but not to sure.</p>

<p><strong>Update Sparkys answer</strong></p>

<p>I have tried adding <code>private Integer[] nextBitmap = { R.drawable.img1, R.drawable.img2 };</code> but I am getting the error <code>The method getBitmapOverlay(Bitmap, Bitmap, int, int) in the type BeatEmUp is not applicable for the arguments (Bitmap, Integer[], int, int)</code> anyone know what this could be do I need to add the <code>private Integer[]......</code> outside the <code>onCreate</code> method?</p>

<pre><code>public class Image extends Activity {

Bitmap myBitmap;

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.Image);

    String myRef = this.getIntent().getStringExtra("filepath");
    File imgFile = new  File(myRef);
    Log.e("No ref", myRef);

    if(imgFile.exists()) {
        final Bitmap myBitmap = BitmapFactory.decodeFile(imgFile.getAbsolutePath());
        final ImageView myImage = (ImageView) findViewById(R.id.beatemup);
        myImage.setImageBitmap(myBitmap);
        myImage.setOnClickListener(new OnClickListener() {

            public void onClick(View v) {
                myBitmap = getBitmapOverlay(myBitmap, nextBitmap, 0, 0);
                myImage.setImageBitmap(myBitmap);
            }
        });
    }
}

public static Bitmap getBitmapOverlay(Bitmap bmp1, Bitmap bmp2, int left, int top) {
    Bitmap bmOverlay = Bitmap.createBitmap(bmp1.getWidth(), bmp1.getHeight(),  bmp1.getConfig());
    Canvas canvas = new Canvas(bmOverlay);    
    canvas.drawBitmap(bmp1, 0, 0, null);
    canvas.drawBitmap(bmp2, left, top, null);
    return bmOverlay;
}
}
</code></pre>
