Adjusted image view attributes

This commit is contained in:
daniel oeh 2012-08-26 22:12:09 +02:00
parent 616c247d84
commit f1e71f6a3e
2 changed files with 6 additions and 4 deletions

View File

@ -37,8 +37,8 @@
<ImageView
android:id="@+id/imgvCover"
android:layout_marginLeft="60dp"
android:layout_marginRight="60dp"
android:layout_marginLeft="50dp"
android:layout_marginRight="50dp"
android:layout_marginTop="8dp"
android:layout_marginBottom="4dp"
android:layout_width="match_parent"
@ -46,7 +46,7 @@
android:layout_gravity="center"
android:layout_weight="1"
android:adjustViewBounds="true"
android:scaleType="centerCrop" />
android:scaleType="centerInside" />
</LinearLayout>

View File

@ -10,7 +10,9 @@
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_margin="8dp"
android:cropToPadding="true" />
android:adjustViewBounds="true"
android:cropToPadding="true"
android:scaleType="fitXY" />
<LinearLayout
android:layout_width="0dp"