Index: /issm/trunk-jpl/src/mobile/android/ISSM_APP/AndroidManifest.xml
===================================================================
--- /issm/trunk-jpl/src/mobile/android/ISSM_APP/AndroidManifest.xml	(revision 14515)
+++ /issm/trunk-jpl/src/mobile/android/ISSM_APP/AndroidManifest.xml	(revision 14516)
@@ -25,9 +25,15 @@
             android:label="@string/title_activity_issm" >
         </activity>
-            <activity
+        <activity
             android:name="gov.nasa.jpl.issm.ISSM"
             android:screenOrientation="portrait"
             android:label="@string/title_activity_issm" >
         </activity>
+        <activity
+            android:name="gov.nasa.jpl.issm.GalleryImage"
+            android:screenOrientation="portrait"
+            android:label="@string/title_activity_issm" >
+        </activity>
+       
     </application>
 
Index: /issm/trunk-jpl/src/mobile/android/ISSM_APP/bin/AndroidManifest.xml
===================================================================
--- /issm/trunk-jpl/src/mobile/android/ISSM_APP/bin/AndroidManifest.xml	(revision 14515)
+++ /issm/trunk-jpl/src/mobile/android/ISSM_APP/bin/AndroidManifest.xml	(revision 14516)
@@ -25,9 +25,15 @@
             android:label="@string/title_activity_issm" >
         </activity>
-            <activity
+        <activity
             android:name="gov.nasa.jpl.issm.ISSM"
             android:screenOrientation="portrait"
             android:label="@string/title_activity_issm" >
         </activity>
+        <activity
+            android:name="gov.nasa.jpl.issm.GalleryImage"
+            android:screenOrientation="portrait"
+            android:label="@string/title_activity_issm" >
+        </activity>
+       
     </application>
 
Index: /issm/trunk-jpl/src/mobile/android/ISSM_APP/res/drawable-mdpi/image_border.xml
===================================================================
--- /issm/trunk-jpl/src/mobile/android/ISSM_APP/res/drawable-mdpi/image_border.xml	(revision 14516)
+++ /issm/trunk-jpl/src/mobile/android/ISSM_APP/res/drawable-mdpi/image_border.xml	(revision 14516)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
+
+    <item>
+        <shape android:shape="rectangle" >
+            <gradient
+                android:angle="90"
+                android:centerColor="#777777"
+                android:endColor="#777777"
+                android:startColor="#777777" />
+        </shape>
+    </item>
+    <item
+        android:bottom="3dp"
+        android:left="3dp"
+        android:right="3dp"
+        android:top="3dp">
+        <shape android:shape="rectangle" >
+            <solid android:color="#777777" />
+        </shape>
+    </item>
+
+</layer-list>
Index: /issm/trunk-jpl/src/mobile/android/ISSM_APP/res/drawable-mdpi/selected_image_border.xml
===================================================================
--- /issm/trunk-jpl/src/mobile/android/ISSM_APP/res/drawable-mdpi/selected_image_border.xml	(revision 14516)
+++ /issm/trunk-jpl/src/mobile/android/ISSM_APP/res/drawable-mdpi/selected_image_border.xml	(revision 14516)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
+
+    <item>
+        <shape android:shape="rectangle" >
+            <gradient
+                android:angle="90"
+                android:centerColor="#000"
+                android:endColor="#000"
+                android:startColor="#000" />
+        </shape>
+    </item>
+    <item
+        android:bottom="3dp"
+        android:left="3dp"
+        android:right="3dp"
+        android:top="3dp">
+        <shape android:shape="rectangle" >
+            <solid android:color="#000" />
+        </shape>
+    </item>
+
+</layer-list>
Index: /issm/trunk-jpl/src/mobile/android/ISSM_APP/res/layout/gallery.xml
===================================================================
--- /issm/trunk-jpl/src/mobile/android/ISSM_APP/res/layout/gallery.xml	(revision 14516)
+++ /issm/trunk-jpl/src/mobile/android/ISSM_APP/res/layout/gallery.xml	(revision 14516)
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    android:layout_width="match_parent"
+    android:layout_height="match_parent"
+    android:background="@layout/roundcorner"
+    android:orientation="vertical" >
+
+    <ImageView
+        android:id="@+id/selected_imageview"
+        android:layout_width="fill_parent"
+        android:layout_height="fill_parent"
+        android:layout_above="@+id/gallery_relative_layout"
+        android:layout_marginLeft="30dip"
+        android:layout_marginRight="30dip"
+        android:layout_marginTop="30dip" />
+
+    <RelativeLayout
+        android:id="@+id/gallery_relative_layout"
+        android:layout_width="fill_parent"
+        android:layout_height="150dip"
+        android:layout_alignParentBottom="true"
+        android:orientation="horizontal" >
+
+        <ImageView
+            android:id="@+id/left_arrow_imageview"
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            android:layout_centerVertical="true"
+            android:layout_marginLeft="15dip"
+            android:src="@drawable/arrow_left_disabled" />
+
+        <Gallery
+            android:id="@+id/gallery"
+            android:layout_width="0dip"
+            android:layout_height="150dip"
+            android:layout_marginLeft="20dip"
+            android:layout_marginRight="20dip"
+            android:layout_toLeftOf="@+id/right_arrow_imageview"
+            android:layout_toRightOf="@+id/left_arrow_imageview"
+            android:spacing="20dip" />
+
+        <ImageView
+            android:id="@+id/right_arrow_imageview"
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            android:layout_alignParentRight="true"
+            android:layout_centerVertical="true"
+            android:layout_marginRight="15dip"
+            android:src="@drawable/arrow_right_enabled" />
+    </RelativeLayout>
+
+</RelativeLayout>
Index: /issm/trunk-jpl/src/mobile/android/ISSM_APP/res/layout/issmmapselection.xml
===================================================================
--- /issm/trunk-jpl/src/mobile/android/ISSM_APP/res/layout/issmmapselection.xml	(revision 14515)
+++ /issm/trunk-jpl/src/mobile/android/ISSM_APP/res/layout/issmmapselection.xml	(revision 14516)
@@ -3,5 +3,5 @@
         android:layout_width="fill_parent"
         android:layout_height="fill_parent"
-	android:background="@drawable/blank_background" >
+		android:background="@drawable/blank_background" >
 
         <ImageButton
Index: /issm/trunk-jpl/src/mobile/android/ISSM_APP/res/layout/menupage.xml
===================================================================
--- /issm/trunk-jpl/src/mobile/android/ISSM_APP/res/layout/menupage.xml	(revision 14515)
+++ /issm/trunk-jpl/src/mobile/android/ISSM_APP/res/layout/menupage.xml	(revision 14516)
@@ -42,4 +42,14 @@
             android:background="@drawable/snow_button"
             android:text="Team" />
+        
+        <Button
+            android:id="@+id/galleryimage"
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            android:layout_alignTop="@+id/start"
+            android:layout_alignParentRight="true"
+            android:layout_marginRight="19dp"
+            android:background="@drawable/snow_button"
+            android:text="Gallery" />
 
     </RelativeLayout>
Index: /issm/trunk-jpl/src/mobile/android/ISSM_APP/src/gov/nasa/jpl/issm/ColorMap.java
===================================================================
--- /issm/trunk-jpl/src/mobile/android/ISSM_APP/src/gov/nasa/jpl/issm/ColorMap.java	(revision 14515)
+++ /issm/trunk-jpl/src/mobile/android/ISSM_APP/src/gov/nasa/jpl/issm/ColorMap.java	(revision 14516)
@@ -1,5 +1,3 @@
 package gov.nasa.jpl.issm;
-
-import android.widget.Toast;
 
 /////////////////////////////////////////////////////////
Index: /issm/trunk-jpl/src/mobile/android/ISSM_APP/src/gov/nasa/jpl/issm/GalleryAdapter.java
===================================================================
--- /issm/trunk-jpl/src/mobile/android/ISSM_APP/src/gov/nasa/jpl/issm/GalleryAdapter.java	(revision 14516)
+++ /issm/trunk-jpl/src/mobile/android/ISSM_APP/src/gov/nasa/jpl/issm/GalleryAdapter.java	(revision 14516)
@@ -0,0 +1,79 @@
+package gov.nasa.jpl.issm;
+
+import java.util.List;
+
+import android.app.Activity;
+import android.graphics.drawable.Drawable;
+import android.view.View;
+import android.view.ViewGroup;
+import android.widget.BaseAdapter;
+import android.widget.Gallery;
+import android.widget.ImageView;
+
+public class GalleryAdapter extends BaseAdapter {
+
+		private Activity context;
+
+		private static ImageView imageView;
+
+		private List<Drawable> plotsImages;
+
+		private static ViewHolder holder;
+
+		public GalleryAdapter(Activity context, List<Drawable> plotsImages) {
+
+			this.context = context;
+			this.plotsImages = plotsImages;
+
+		}
+
+		@Override
+		public int getCount() {
+			return plotsImages.size();
+		}
+
+		@Override
+		public Object getItem(int position) {
+			return null;
+		}
+
+		@Override
+		public long getItemId(int position) {
+			return 0;
+		}
+
+		@Override
+		public View getView(int position, View convertView, ViewGroup parent) {
+
+			if (convertView == null) {
+
+				holder = new ViewHolder();
+
+				imageView = new ImageView(this.context);
+
+				imageView.setPadding(3, 3, 3, 3);
+
+				convertView = imageView;
+
+				holder.imageView = imageView;
+
+				convertView.setTag(holder);
+
+			} else {
+
+				holder = (ViewHolder) convertView.getTag();
+			}
+
+			holder.imageView.setImageDrawable(plotsImages.get(position));
+
+			holder.imageView.setScaleType(ImageView.ScaleType.FIT_XY);
+			holder.imageView.setLayoutParams(new Gallery.LayoutParams(150, 90));
+
+			return imageView;
+		}
+
+		private static class ViewHolder {
+			ImageView imageView;
+		}
+
+}
Index: /issm/trunk-jpl/src/mobile/android/ISSM_APP/src/gov/nasa/jpl/issm/GalleryImage.java
===================================================================
--- /issm/trunk-jpl/src/mobile/android/ISSM_APP/src/gov/nasa/jpl/issm/GalleryImage.java	(revision 14516)
+++ /issm/trunk-jpl/src/mobile/android/ISSM_APP/src/gov/nasa/jpl/issm/GalleryImage.java	(revision 14516)
@@ -0,0 +1,163 @@
+package gov.nasa.jpl.issm;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import android.app.Activity;
+import android.graphics.Bitmap;
+import android.graphics.drawable.BitmapDrawable;
+import android.graphics.drawable.Drawable;
+import android.os.Bundle;
+import android.view.View;
+import android.view.View.OnClickListener;
+import android.widget.AdapterView;
+import android.widget.AdapterView.OnItemSelectedListener;
+import android.widget.Gallery;
+import android.widget.ImageView;
+import android.widget.ImageView.ScaleType;
+
+public class GalleryImage extends Activity {
+
+	private ImageView selectedImageView;
+
+	private ImageView leftArrowImageView;
+
+	private ImageView rightArrowImageView;
+
+	private Gallery gallery;
+
+	private int selectedImagePosition = 0;
+
+	private List<Drawable> drawables;
+
+	private GalleryAdapter galImageAdapter;
+
+	@Override
+	public void onCreate(Bundle savedInstanceState) {
+		super.onCreate(savedInstanceState);
+		setContentView(R.layout.gallery);
+
+		getDrawablesList();
+		setupUI();
+	}
+
+	private void setupUI() {
+
+		selectedImageView = (ImageView) findViewById(R.id.selected_imageview);
+		leftArrowImageView = (ImageView) findViewById(R.id.left_arrow_imageview);
+		rightArrowImageView = (ImageView) findViewById(R.id.right_arrow_imageview);
+		gallery = (Gallery) findViewById(R.id.gallery);
+
+		leftArrowImageView.setOnClickListener(new OnClickListener() {
+
+			@Override
+			public void onClick(View v) {
+
+				if (selectedImagePosition > 0) {
+					--selectedImagePosition;
+
+				}
+
+				gallery.setSelection(selectedImagePosition, false);
+			}
+		});
+
+		rightArrowImageView.setOnClickListener(new OnClickListener() {
+
+			@Override
+			public void onClick(View v) {
+
+				if (selectedImagePosition < drawables.size() - 1) {
+					++selectedImagePosition;
+
+				}
+
+				gallery.setSelection(selectedImagePosition, false);
+
+			}
+		});
+
+		gallery.setOnItemSelectedListener(new OnItemSelectedListener() {
+
+			@Override
+			public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) {
+
+				selectedImagePosition = pos;
+
+				if (selectedImagePosition > 0 && selectedImagePosition < drawables.size() - 1) {
+
+					leftArrowImageView.setImageDrawable(getResources().getDrawable(R.drawable.arrow_left_enabled));
+					rightArrowImageView.setImageDrawable(getResources().getDrawable(R.drawable.arrow_right_enabled));
+
+				} else if (selectedImagePosition == 0) {
+
+					leftArrowImageView.setImageDrawable(getResources().getDrawable(R.drawable.arrow_left_disabled));
+
+				} else if (selectedImagePosition == drawables.size() - 1) {
+
+					rightArrowImageView.setImageDrawable(getResources().getDrawable(R.drawable.arrow_right_disabled));
+				}
+
+				changeBorderForSelectedImage(selectedImagePosition);
+				setSelectedImage(selectedImagePosition);
+			}
+
+			@Override
+			public void onNothingSelected(AdapterView<?> arg0) {
+
+			}
+
+		});
+
+		galImageAdapter = new GalleryAdapter(this, drawables);
+
+		gallery.setAdapter(galImageAdapter);
+
+		if (drawables.size() > 0) {
+
+			gallery.setSelection(selectedImagePosition, false);
+
+		}
+
+		if (drawables.size() == 1) {
+
+			rightArrowImageView.setImageDrawable(getResources().getDrawable(R.drawable.arrow_right_disabled));
+		}
+
+	}
+
+	private void changeBorderForSelectedImage(int selectedItemPos) {
+
+		int count = gallery.getChildCount();
+
+		for (int i = 0; i < count; i++) {
+
+			ImageView imageView = (ImageView) gallery.getChildAt(i);
+			imageView.setBackgroundDrawable(getResources().getDrawable(R.drawable.image_border));
+			imageView.setPadding(3, 3, 3, 3);
+
+		}
+
+		ImageView imageView = (ImageView) gallery.getSelectedView();
+		imageView.setBackgroundDrawable(getResources().getDrawable(R.drawable.selected_image_border));
+		imageView.setPadding(3, 3, 3, 3);
+	}
+
+	private void getDrawablesList() {
+
+		drawables = new ArrayList<Drawable>();
+		drawables.add(getResources().getDrawable(R.drawable.natureimage1));
+		drawables.add(getResources().getDrawable(R.drawable.natureimage2));
+		drawables.add(getResources().getDrawable(R.drawable.natureimage3));
+		drawables.add(getResources().getDrawable(R.drawable.natureimage4));
+	}
+
+	private void setSelectedImage(int selectedImagePosition) {
+
+		BitmapDrawable bd = (BitmapDrawable) drawables.get(selectedImagePosition);
+		Bitmap b = Bitmap.createScaledBitmap(bd.getBitmap(), (int) (bd.getIntrinsicHeight() * 0.9), (int) (bd.getIntrinsicWidth() * 0.7), false);
+		selectedImageView.setImageBitmap(b);
+		selectedImageView.setScaleType(ScaleType.FIT_XY);
+
+	}
+}
Index: /issm/trunk-jpl/src/mobile/android/ISSM_APP/src/gov/nasa/jpl/issm/ISSM.java
===================================================================
--- /issm/trunk-jpl/src/mobile/android/ISSM_APP/src/gov/nasa/jpl/issm/ISSM.java	(revision 14515)
+++ /issm/trunk-jpl/src/mobile/android/ISSM_APP/src/gov/nasa/jpl/issm/ISSM.java	(revision 14516)
@@ -13,5 +13,4 @@
 import android.view.Menu;
 import android.view.MenuInflater;
-import android.view.MenuItem;
 import android.view.View;
 import android.view.View.OnClickListener;
@@ -28,5 +27,4 @@
 import android.widget.PopupWindow;
 import android.widget.Spinner;
-import android.widget.Toast;
 import android.widget.ViewFlipper;
 
Index: /issm/trunk-jpl/src/mobile/android/ISSM_APP/src/gov/nasa/jpl/issm/MenuPage.java
===================================================================
--- /issm/trunk-jpl/src/mobile/android/ISSM_APP/src/gov/nasa/jpl/issm/MenuPage.java	(revision 14515)
+++ /issm/trunk-jpl/src/mobile/android/ISSM_APP/src/gov/nasa/jpl/issm/MenuPage.java	(revision 14516)
@@ -14,4 +14,5 @@
 {
 	ISSM issm = new ISSM();
+	GalleryImage gallery = new GalleryImage();
 	private String issmFolder; 
 //------------------------------------------------------------------------	
@@ -82,4 +83,14 @@
 			}
 		});
+		//start gallery image 
+	    Button galleryImage = (Button) findViewById(R.id.galleryimage);		
+	    galleryImage.setOnClickListener(new View.OnClickListener() 
+		{
+			public void onClick(View v) 
+			{
+				Intent i = new Intent(MenuPage.this, GalleryImage.class);
+		        startActivity(i);
+			}
+		});
 	}
 //-------------------------------------------------------------------------------------	
