mirror of
https://github.com/nextcloud/talk-android
synced 2025-01-18 21:18:15 +00:00
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 <dev@mhibbe.de>
This commit is contained in:
parent
3f6f492143
commit
1296b8854e
@ -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
|
||||
|
@ -58,11 +58,13 @@
|
||||
app:layout_alignSelf="flex_start"
|
||||
android:adjustViewBounds="true">
|
||||
|
||||
<!-- SimpleDraweeView does not support wrap_content for layout_width or layout_height attributes! -->
|
||||
<com.facebook.drawee.view.SimpleDraweeView
|
||||
android:id="@id/image"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:scaleType="fitCenter"
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="100dp"
|
||||
android:scaleType="fitStart"
|
||||
app:roundedCornerRadius="6dp"
|
||||
tools:src="@drawable/ic_call_black_24dp" />
|
||||
|
||||
<ProgressBar
|
||||
|
@ -50,11 +50,13 @@
|
||||
app:layout_alignSelf="flex_start"
|
||||
android:adjustViewBounds="true">
|
||||
|
||||
<!-- SimpleDraweeView does not support wrap_content for layout_width or layout_height attributes! -->
|
||||
<com.facebook.drawee.view.SimpleDraweeView
|
||||
android:id="@id/image"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:scaleType="fitCenter"
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="100dp"
|
||||
android:scaleType="fitEnd"
|
||||
app:roundedCornerRadius="6dp"
|
||||
tools:src="@drawable/ic_call_black_24dp" />
|
||||
|
||||
<ProgressBar
|
||||
|
Loading…
Reference in New Issue
Block a user