From b4cd69f39f5beab46939d0f75494d1a5f1fff565 Mon Sep 17 00:00:00 2001 From: Danil Nikolaev Date: Mon, 11 Oct 2021 10:46:18 +0300 Subject: [PATCH] fix voice messages waveform and padding --- .../com/meloda/fast/screens/messages/AttachmentInflater.kt | 2 +- app/src/main/res/layout/item_message_attachment_voice.xml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/src/main/kotlin/com/meloda/fast/screens/messages/AttachmentInflater.kt b/app/src/main/kotlin/com/meloda/fast/screens/messages/AttachmentInflater.kt index bb7de5a4..b0b7a332 100644 --- a/app/src/main/kotlin/com/meloda/fast/screens/messages/AttachmentInflater.kt +++ b/app/src/main/kotlin/com/meloda/fast/screens/messages/AttachmentInflater.kt @@ -324,7 +324,7 @@ class AttachmentInflater constructor( if (message.isOut) binding.root.updatePadding( - bottom = AndroidUtils.px(5).roundToInt(), + bottom = AndroidUtils.px(6).roundToInt(), left = AndroidUtils.px(6).roundToInt() ) diff --git a/app/src/main/res/layout/item_message_attachment_voice.xml b/app/src/main/res/layout/item_message_attachment_voice.xml index 1a5452bd..2fd7d1f9 100644 --- a/app/src/main/res/layout/item_message_attachment_voice.xml +++ b/app/src/main/res/layout/item_message_attachment_voice.xml @@ -28,10 +28,11 @@