From eed6f8010b47df8b4fddbe20ca9ad9a9fda013e0 Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 11 Feb 2019 13:58:01 +0000 Subject: [PATCH] Prevent auto scrolling --- app/src/main/res/layout/item_message_compact.xml | 2 ++ app/src/main/res/layout/item_message_normal.xml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/app/src/main/res/layout/item_message_compact.xml b/app/src/main/res/layout/item_message_compact.xml index f0f096f79e..b18769b3f1 100644 --- a/app/src/main/res/layout/item_message_compact.xml +++ b/app/src/main/res/layout/item_message_compact.xml @@ -9,6 +9,8 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:background="?attr/drawableItemBackground" + android:descendantFocusability="beforeDescendants" + android:focusable="true" android:focusableInTouchMode="true">