aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-11-21 14:55:58 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-11-21 14:55:58 +0000
commit50a2db2a398e257e236505cb222c289cb0d5331f (patch)
tree659c1ae4518eb62718238faf06a67ba7608fe60e /app/src/main/res
parent725921dac16541a1eb4724130bf87ee509c0591b (diff)
downloadinfinity-for-reddit-50a2db2a398e257e236505cb222c289cb0d5331f.tar
infinity-for-reddit-50a2db2a398e257e236505cb222c289cb0d5331f.tar.gz
infinity-for-reddit-50a2db2a398e257e236505cb222c289cb0d5331f.tar.bz2
infinity-for-reddit-50a2db2a398e257e236505cb222c289cb0d5331f.tar.lz
infinity-for-reddit-50a2db2a398e257e236505cb222c289cb0d5331f.tar.xz
infinity-for-reddit-50a2db2a398e257e236505cb222c289cb0d5331f.tar.zst
infinity-for-reddit-50a2db2a398e257e236505cb222c289cb0d5331f.zip
Implement SaveMemoryCenterInsideDownsampleStrategy to smartly downsample images in PostRecyclerViewAdapter and PostDetailRecyclerViewAdapter.
Diffstat (limited to '')
-rw-r--r--app/src/main/res/layout/item_post_with_preview.xml3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/src/main/res/layout/item_post_with_preview.xml b/app/src/main/res/layout/item_post_with_preview.xml
index 91014578..e0162b1c 100644
--- a/app/src/main/res/layout/item_post_with_preview.xml
+++ b/app/src/main/res/layout/item_post_with_preview.xml
@@ -216,8 +216,7 @@
android:id="@+id/image_view_item_post_with_preview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:scaleType="fitStart" />
+ android:adjustViewBounds="true" />
<ImageView
android:id="@+id/video_or_gif_indicator_image_view_item_post_with_preview"