aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorDocile-Alligator <chineseperson5@gmail.com>2022-03-11 09:00:23 +0000
committerDocile-Alligator <chineseperson5@gmail.com>2022-03-11 09:00:23 +0000
commit3cae2b0dbadfcc109f8e7f52170722c664638d1f (patch)
tree057374f56a2a755a611cee003dd183d57c1e1c0a /app/src/main/res
parent20e4798d3412063f916ab988cc06e3b77007b1a2 (diff)
downloadinfinity-for-reddit-3cae2b0dbadfcc109f8e7f52170722c664638d1f.tar
infinity-for-reddit-3cae2b0dbadfcc109f8e7f52170722c664638d1f.tar.gz
infinity-for-reddit-3cae2b0dbadfcc109f8e7f52170722c664638d1f.tar.bz2
infinity-for-reddit-3cae2b0dbadfcc109f8e7f52170722c664638d1f.tar.lz
infinity-for-reddit-3cae2b0dbadfcc109f8e7f52170722c664638d1f.tar.xz
infinity-for-reddit-3cae2b0dbadfcc109f8e7f52170722c664638d1f.tar.zst
infinity-for-reddit-3cae2b0dbadfcc109f8e7f52170722c664638d1f.zip
Load image after the AspectRatioGifImageView's height is determined in PostRecyclerViewAdapter to prevent blurry images.
Diffstat (limited to '')
-rw-r--r--app/src/main/res/layout/item_post_detail_gallery.xml3
-rw-r--r--app/src/main/res/layout/item_post_detail_image_and_gif_autoplay.xml3
-rw-r--r--app/src/main/res/layout/item_post_detail_link.xml3
-rw-r--r--app/src/main/res/layout/item_post_detail_video_and_gif_preview.xml3
-rw-r--r--app/src/main/res/layout/item_post_detail_video_autoplay.xml1
5 files changed, 4 insertions, 9 deletions
diff --git a/app/src/main/res/layout/item_post_detail_gallery.xml b/app/src/main/res/layout/item_post_detail_gallery.xml
index 2b3ed1ef..a73e1965 100644
--- a/app/src/main/res/layout/item_post_detail_gallery.xml
+++ b/app/src/main/res/layout/item_post_detail_gallery.xml
@@ -216,8 +216,7 @@
android:id="@+id/image_view_item_post_detail_gallery"
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_detail"
diff --git a/app/src/main/res/layout/item_post_detail_image_and_gif_autoplay.xml b/app/src/main/res/layout/item_post_detail_image_and_gif_autoplay.xml
index fa135603..3f40a6e4 100644
--- a/app/src/main/res/layout/item_post_detail_image_and_gif_autoplay.xml
+++ b/app/src/main/res/layout/item_post_detail_image_and_gif_autoplay.xml
@@ -211,8 +211,7 @@
android:id="@+id/image_view_item_post_detail_image_and_gif_autoplay"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:scaleType="fitStart" />
+ android:adjustViewBounds="true" />
<RelativeLayout
android:id="@+id/load_wrapper_item_post_detail_image_and_gif_autoplay"
diff --git a/app/src/main/res/layout/item_post_detail_link.xml b/app/src/main/res/layout/item_post_detail_link.xml
index 076766d0..26d4479d 100644
--- a/app/src/main/res/layout/item_post_detail_link.xml
+++ b/app/src/main/res/layout/item_post_detail_link.xml
@@ -221,8 +221,7 @@
android:id="@+id/image_view_item_post_detail_link"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:scaleType="fitStart" />
+ android:adjustViewBounds="true" />
<RelativeLayout
android:id="@+id/load_wrapper_item_post_detail_link"
diff --git a/app/src/main/res/layout/item_post_detail_video_and_gif_preview.xml b/app/src/main/res/layout/item_post_detail_video_and_gif_preview.xml
index 846a2c10..44197b8d 100644
--- a/app/src/main/res/layout/item_post_detail_video_and_gif_preview.xml
+++ b/app/src/main/res/layout/item_post_detail_video_and_gif_preview.xml
@@ -213,8 +213,7 @@
android:id="@+id/image_view_item_post_detail_video_and_gif_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_detail"
diff --git a/app/src/main/res/layout/item_post_detail_video_autoplay.xml b/app/src/main/res/layout/item_post_detail_video_autoplay.xml
index aa3a3662..c23d3af8 100644
--- a/app/src/main/res/layout/item_post_detail_video_autoplay.xml
+++ b/app/src/main/res/layout/item_post_detail_video_autoplay.xml
@@ -221,7 +221,6 @@
android:id="@+id/preview_image_view_item_post_detail_video_autoplay"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:scaleType="fitStart"
android:visibility="gone" />
<ImageView