mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-10-05 21:39:50 +02:00
Load image after the AspectRatioGifImageView's height is determined in PostRecyclerViewAdapter to prevent blurry images.
This commit is contained in:
@@ -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"
|
||||
|
@@ -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"
|
||||
|
@@ -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"
|
||||
|
@@ -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"
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user