Changeset 14711
- Timestamp:
- 04/22/13 22:33:04 (12 years ago)
- Location:
- issm/trunk-jpl/src/mobile/android/ISSM_APP
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/mobile/android/ISSM_APP/bin/AndroidManifest.xml
r14710 r14711 5 5 android:installLocation="preferExternal" > 6 6 <uses-sdk 7 android:minSdkVersion="1 1"7 android:minSdkVersion="10" 8 8 android:targetSdkVersion="15" /> 9 9 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> -
issm/trunk-jpl/src/mobile/android/ISSM_APP/res/layout/gallery.xml
r14563 r14711 26 26 android:layout_marginTop="30dip" /> --> 27 27 28 <TextView 29 android:id="@+id/description" 30 android:layout_width="wrap_content" 31 android:layout_height="wrap_content" 32 android:layout_centerHorizontal="true" 33 android:gravity="center_horizontal" 34 android:layout_below="@+id/container" 35 android:layout_marginTop="5dip" 36 android:textSize="13sp" 37 android:typeface="serif" /> 38 28 39 <RelativeLayout 29 40 android:id="@+id/gallery_relative_layout" 30 41 android:layout_width="fill_parent" 31 android:layout_height="1 50dip"42 android:layout_height="130dip" 32 43 android:layout_alignParentBottom="true" 33 44 android:orientation="horizontal" > … … 44 55 android:id="@+id/gallery" 45 56 android:layout_width="0dip" 46 android:layout_height="1 50dip"57 android:layout_height="130dip" 47 58 android:layout_marginLeft="20dip" 48 59 android:layout_marginRight="20dip" … … 59 70 android:layout_marginRight="15dip" 60 71 android:src="@drawable/arrow_right_enabled" /> 72 61 73 </RelativeLayout> 62 74 -
issm/trunk-jpl/src/mobile/android/ISSM_APP/src/gov/nasa/jpl/issm/GalleryImage.java
r14661 r14711 51 51 52 52 selectedImageView = (ImageView) findViewById(R.id.front_view); 53 selectedTextView = (TextView) findViewById(R.id.back_view); 54 selectedTextView.setVisibility(View.GONE); 53 //selectedTextView = (TextView) findViewById(R.id.back_view); 54 selectedTextView = (TextView) findViewById(R.id.description); 55 //selectedTextView.setVisibility(View.GONE); 55 56 photoState = (ImageView) findViewById(R.id.photo_stage); 56 57 infoState = (ImageView) findViewById(R.id.info_stage); 57 58 photoState.setVisibility(View.GONE); 59 infoState.setVisibility(View.GONE); 58 60 leftArrowImageView = (ImageView) findViewById(R.id.left_arrow_imageview); 59 61 rightArrowImageView = (ImageView) findViewById(R.id.right_arrow_imageview); … … 186 188 selectedImageView.setImageBitmap(b); 187 189 selectedImageView.setScaleType(ScaleType.FIT_XY); 188 selectedTextView.setText(description.getDescription(selectedImagePosition 190 selectedTextView.setText(description.getDescription(selectedImagePosition )); 189 191 } 190 192 -
issm/trunk-jpl/src/mobile/android/ISSM_APP/src/gov/nasa/jpl/issm/ISSM.java
r14710 r14711 114 114 colorMap.setColor(color); 115 115 colorBar.setColorMap(colorMap); 116 colorBar.invalidate();117 116 drawFigure(); 118 117 } … … 177 176 { 178 177 mapName= "greenland"; 178 colorBar.setVisibility(View.INVISIBLE); 179 179 defaultMap.setImageResource(R.drawable.greenland_button); 180 180 defaultMap.setScaleX(1.12f); … … 193 193 { 194 194 mapName= "antarctica"; 195 colorBar.setVisibility(View.INVISIBLE); 195 196 defaultMap.setImageResource(R.drawable.antarctica_button); 196 197 viewflipper.setInAnimation(inFromRightAnimation()); … … 248 249 colorBar.setVelocity(velocity.getVmax(), velocity.getVmin()); 249 250 colorBar.invalidate(); 251 colorBar.setVisibility(View.VISIBLE); 250 252 frame.addView(mGLView); 251 253 }
Note:
See TracChangeset
for help on using the changeset viewer.