From 32fcec7a8226a3ae5ba94405f4b0031ae1ce9851 Mon Sep 17 00:00:00 2001 From: Erwan Croze Date: Tue, 11 Sep 2018 09:13:22 +0200 Subject: [PATCH] Adding text with file sharing logo --- res/layout/chatlist_cell.xml | 9 +++++++++ src/android/org/linphone/chat/ChatRoomsAdapter.java | 8 +++++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/res/layout/chatlist_cell.xml b/res/layout/chatlist_cell.xml index a311ecaf2..86eeb6c9b 100644 --- a/res/layout/chatlist_cell.xml +++ b/res/layout/chatlist_cell.xml @@ -133,6 +133,15 @@ android:textColor="#595959" android:textSize="16.7sp"/> + + 0) { - holder.lastMessageView.setBackgroundResource(0); - holder.lastMessageView.setText(lastMessage.getTextContent()); + holder.filesharing.setVisibility(View.GONE); } if (lastMessage.isOutgoing()) {