Fixed cover position for larger screens

This commit is contained in:
daniel oeh 2012-07-18 14:38:51 +02:00
parent 1bc557ce4b
commit ac72d855d0
1 changed files with 4 additions and 5 deletions

View File

@ -29,20 +29,19 @@
<LinearLayout <LinearLayout
android:id="@+id/cover_layout" android:id="@+id/cover_layout"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="0dp"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true" android:layout_alignParentLeft="true"
android:layout_alignParentRight="true" android:layout_alignParentRight="true"
android:layout_alignParentTop="false"
android:layout_below="@id/txtvFeed" android:layout_below="@id/txtvFeed"
android:layout_gravity="center" android:gravity="center"
android:orientation="vertical" > android:orientation="vertical" >
<ImageView <ImageView
android:id="@+id/imgvCover" android:id="@+id/imgvCover"
android:layout_width="200dp" android:layout_width="200dp"
android:layout_height="200dp" android:layout_height="200dp"
android:layout_gravity="center" android:scaleType="centerInside" />
android:gravity="center" />
</LinearLayout> </LinearLayout>
</RelativeLayout> </RelativeLayout>