aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-02-26 09:32:09 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-02-26 09:32:09 +0000
commit8274704037ce37777a92a5ee1047c7aa72eb126f (patch)
tree6c38b8f4aad39bc6b9ada031f4ddcacc6d223cb8
parentffa65a7dd86cd97673ef261235ce6ba8f521cf85 (diff)
downloadinfinity-for-reddit-8274704037ce37777a92a5ee1047c7aa72eb126f.tar
infinity-for-reddit-8274704037ce37777a92a5ee1047c7aa72eb126f.tar.gz
infinity-for-reddit-8274704037ce37777a92a5ee1047c7aa72eb126f.tar.bz2
infinity-for-reddit-8274704037ce37777a92a5ee1047c7aa72eb126f.tar.lz
infinity-for-reddit-8274704037ce37777a92a5ee1047c7aa72eb126f.tar.xz
infinity-for-reddit-8274704037ce37777a92a5ee1047c7aa72eb126f.tar.zst
infinity-for-reddit-8274704037ce37777a92a5ee1047c7aa72eb126f.zip
Minor layout issue fixed.
-rw-r--r--app/src/main/res/layout/item_post_card_2_with_preview.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/src/main/res/layout/item_post_card_2_with_preview.xml b/app/src/main/res/layout/item_post_card_2_with_preview.xml
index 07e17a71..777be8ae 100644
--- a/app/src/main/res/layout/item_post_card_2_with_preview.xml
+++ b/app/src/main/res/layout/item_post_card_2_with_preview.xml
@@ -23,7 +23,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
- android:scaleType="fitStart" />
+ android:scaleType="fitStart"
+ android:visibility="gone" />
<ImageView
android:id="@+id/video_or_gif_indicator_image_view_item_post_card_2_with_preview"
@@ -45,7 +46,7 @@
android:id="@+id/load_image_error_relative_layout_item_post_card_2_with_preview"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:layout_centerInParent="true"
+ android:layout_gravity="center"
android:visibility="gone">
<TextView