diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/cover_fragment.xml | 13 | ||||
-rw-r--r-- | res/layout/feedlist_item_grid.xml | 4 |
2 files changed, 10 insertions, 7 deletions
diff --git a/res/layout/cover_fragment.xml b/res/layout/cover_fragment.xml index 8e4c15ae8..e449b44f4 100644 --- a/res/layout/cover_fragment.xml +++ b/res/layout/cover_fragment.xml @@ -23,12 +23,11 @@ android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_below="@+id/txtvTitle" - android:layout_marginBottom="8dp" android:gravity="center_horizontal" /> <LinearLayout android:id="@+id/cover_layout" - android:layout_width="match_parent" + android:layout_width="0dp" android:layout_height="0dp" android:layout_alignParentBottom="true" android:layout_alignParentLeft="true" @@ -39,12 +38,16 @@ <ImageView android:id="@+id/imgvCover" - android:layout_margin="8dp" - android:layout_width="wrap_content" + android:layout_marginLeft="55dp" + android:layout_marginRight="55dp" + android:layout_marginTop="8dp" + android:layout_marginBottom="8dp" + android:layout_width="match_parent" android:layout_height="0dp" android:layout_gravity="center" android:layout_weight="1" - android:scaleType="centerInside" /> + android:adjustViewBounds="true" + android:scaleType="centerCrop" /> </LinearLayout> diff --git a/res/layout/feedlist_item_grid.xml b/res/layout/feedlist_item_grid.xml index 5e0b72e1a..53e9eeb10 100644 --- a/res/layout/feedlist_item_grid.xml +++ b/res/layout/feedlist_item_grid.xml @@ -5,8 +5,8 @@ <ImageView android:id="@+id/imgvFeedimage" - android:layout_width="160dip" - android:layout_height="160dip" + android:layout_width="200dip" + android:layout_height="200dip" android:layout_alignParentTop="true" android:layout_centerHorizontal="true" android:layout_margin="8dp" |