From 8020be9d71be037e7a9000489b7994650b3d139c Mon Sep 17 00:00:00 2001 From: Joshua Soberg Date: Sun, 17 Dec 2023 14:32:00 -0500 Subject: [PATCH] Make the entire like layout clickable vs just the text --- Habitica/res/layout/chat_item.xml | 9 ++++++--- .../habitica/ui/viewHolders/ChatRecyclerViewHolder.kt | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Habitica/res/layout/chat_item.xml b/Habitica/res/layout/chat_item.xml index 7e6c368cf8..980af2e702 100644 --- a/Habitica/res/layout/chat_item.xml +++ b/Habitica/res/layout/chat_item.xml @@ -72,15 +72,18 @@ android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:layout_marginStart="5dp" + android:clickable="true" + android:focusable="true" android:background="@drawable/layout_rounded_bg"> + + android:clickable="false" + android:focusable="false" + android:gravity="center_vertical" />