diff options
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/item_post.xml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/app/src/main/res/layout/item_post.xml b/app/src/main/res/layout/item_post.xml index cd200590..a2a99cce 100644 --- a/app/src/main/res/layout/item_post.xml +++ b/app/src/main/res/layout/item_post.xml @@ -151,12 +151,14 @@ android:id="@+id/image_view_best_post_item" android:layout_width="match_parent" android:layout_height="wrap_content" + android:adjustViewBounds="true" android:scaleType="fitStart" /> - <LinearLayout - android:id="@+id/load_image_error_linear_layout_best_post_item" + <RelativeLayout + android:id="@+id/load_image_error_relative_layout_best_post_item" android:layout_width="match_parent" android:layout_height="match_parent" + android:layout_centerInParent="true" android:visibility="gone"> <TextView @@ -167,7 +169,7 @@ android:gravity="center" android:text="@string/tap_to_retry" /> - </LinearLayout> + </RelativeLayout> </RelativeLayout> |