From 1296b8854e51c26af9393c2e6973fdd04c664865 Mon Sep 17 00:00:00 2001 From: Marcel Hibbe Date: Fri, 23 Apr 2021 00:53:46 +0200 Subject: [PATCH] fix to show missing preview files. solution: SimpleDraweeView does not support wrap_content for layout_width or layout_height attributes. see https://frescolib.org/docs/using-simpledraweeview.html Signed-off-by: Marcel Hibbe --- CHANGELOG.md | 1 + .../res/layout/item_custom_incoming_preview_message.xml | 8 +++++--- .../res/layout/item_custom_outcoming_preview_message.xml | 8 +++++--- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6090d60f7..b62736745 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,7 @@ Types of changes can be: Added/Changed/Deprecated/Removed/Fixed/Security - remove all "chat via"-links from phonebook when sync is disabled - fix to show avatars for incoming pictures in group chats (@starypatyk) - do not allow selecting files in files browser that are not allowed to be reshared +- fix to show all file previews ## [11.1.0] - 2021-03-12 ### Added diff --git a/app/src/main/res/layout/item_custom_incoming_preview_message.xml b/app/src/main/res/layout/item_custom_incoming_preview_message.xml index 031d78c7d..16931836e 100644 --- a/app/src/main/res/layout/item_custom_incoming_preview_message.xml +++ b/app/src/main/res/layout/item_custom_incoming_preview_message.xml @@ -58,11 +58,13 @@ app:layout_alignSelf="flex_start" android:adjustViewBounds="true"> + +