From f82b2c0d3fb3874964e3f8701bf268b2cb70b9be Mon Sep 17 00:00:00 2001 From: Greyson Parrelli Date: Fri, 20 Jul 2018 18:24:52 -0700 Subject: [PATCH] Prevent author name from making media messages too wide. The media size traditionally determines the bubble size, but the author could make it wider, which would lead to rendering issues. In the case of media attachments (images, videos, and shared contacts), we restrict the width of the author name. When there's a number+profile name combo, we split the space 50/50 between the two. --- res/layout/conversation_item_received.xml | 6 ++++-- src/org/thoughtcrime/securesms/ConversationItem.java | 5 +++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/res/layout/conversation_item_received.xml b/res/layout/conversation_item_received.xml index 036b00fac4..7d7377ab78 100644 --- a/res/layout/conversation_item_received.xml +++ b/res/layout/conversation_item_received.xml @@ -67,8 +67,9 @@