aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout/message_received.xml
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2016-10-18 11:16:43 +0200
committerDaniel Gultsch <daniel@gultsch.de>2016-10-18 11:16:43 +0200
commit50780debf7271f4913fec0b624a608e7bd809df5 (patch)
tree64463b191372cc6f01f84c8b235ca49172f3fca3 /src/main/res/layout/message_received.xml
parentf8c21caec9b0e335cae879cc972e38ba69b5be4b (diff)
don't trigger context menu in message adapter manually. fixes #2077
Diffstat (limited to 'src/main/res/layout/message_received.xml')
-rw-r--r--src/main/res/layout/message_received.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/res/layout/message_received.xml b/src/main/res/layout/message_received.xml
index 466dd045..18f753af 100644
--- a/src/main/res/layout/message_received.xml
+++ b/src/main/res/layout/message_received.xml
@@ -45,6 +45,7 @@
android:layout_marginTop="8dp"
android:layout_marginBottom="4dp"
android:adjustViewBounds="true"
+ android:longClickable="true"
android:background="@color/black87"
android:scaleType="centerCrop" />
@@ -53,6 +54,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:autoLink="web"
+ android:longClickable="true"
android:textColorLink="@color/white"
android:textColor="@color/white"
android:textColorHighlight="@color/grey800"
@@ -61,6 +63,7 @@
<Button
android:id="@+id/download_button"
style="?android:attr/buttonStyleSmall"
+ android:longClickable="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="gone" />