Selecting thumbnail and viewing full screen
<p>I have my app working where it comes to a screen with 6 thumbnails. The user will select one and  the next screen is a full image. I've accomplished this through an OnClickListener to call a new activity/xml (I'm new at this, sorry if my terminology is a little off).</p>

<p>My question is: is there a way to avoid creating 6 activty/xml (one for each thumbnail)? ultimately, my app will have about 40 thumbnails that can be selected for full screen view. </p>

<p>I've been trying to follow examples online where it appears that the code is presenting the full image within java instead of referencing an xml file. I've also seen use of Bitmap and BitmapFactory. Is this the way to go?</p>

<p>If the full screen image can be created dynamically within java, will the Back button still work to the user back to the screen with 6 thumbnails?</p>

<p>thanks, J</p>
