From 475422820c73ea25b06845a1bafe93979739d91f Mon Sep 17 00:00:00 2001 From: Christian Schneppe Date: Tue, 18 Oct 2016 22:07:26 +0200 Subject: don't trigger context menu in message adapter manually --- src/main/res/layout/message_received.xml | 3 +++ src/main/res/layout/message_sent.xml | 3 +++ 2 files changed, 6 insertions(+) (limited to 'src/main/res/layout') diff --git a/src/main/res/layout/message_received.xml b/src/main/res/layout/message_received.xml index 2f47dabb4..155a2bbc2 100644 --- a/src/main/res/layout/message_received.xml +++ b/src/main/res/layout/message_received.xml @@ -52,6 +52,7 @@ app:riv_border_color="@color/black12" app:riv_corner_radius="5dp" android:scaleType="centerCrop" + android:longClickable="true" android:maxHeight="400dp" android:maxWidth="400dp" /> @@ -61,6 +62,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:autoLink="web" + android:longClickable="true" android:textColorLink="@color/dark" android:textColor="@color/dark" android:textColorHighlight="@color/grey800" @@ -70,6 +72,7 @@ android:id="@+id/download_button" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:longClickable="true" android:visibility="gone" />