Adjust UI layout for photos

This commit is contained in:
Jimmy Shih
2013-08-19 17:48:00 -07:00
parent 5f16df912a
commit f29cf16e13
5 changed files with 13 additions and 20 deletions
+2 -2
View File
@@ -68,12 +68,12 @@ limitations under the License.
</TableLayout>
<ImageView
android:id="@+id/list_item_photo"
android:layout_gravity="center"
android:adjustViewBounds="true"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:layout_weight="1"
android:layout_width="0dp"
android:scaleType="centerCrop" />
android:scaleType="fitStart" />
</LinearLayout>
<TableLayout
android:layout_height="wrap_content"
@@ -27,10 +27,11 @@ limitations under the License.
android:layout_width="match_parent"
android:orientation="vertical" >
<ImageView
android:adjustViewBounds="true"
android:id="@+id/marker_detail_waypoint_photo"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:scaleType="centerInside" />
android:scaleType="fitStart" />
<TextView
android:id="@+id/marker_detail_waypoint_name"
style="@style/TextLarge.WithTopMargin" />