From 5dabe1069d052c9bdb04b01589d5bbda8506910d Mon Sep 17 00:00:00 2001 From: Lilia Markham Date: Tue, 5 Mar 2013 01:33:55 -0800 Subject: [PATCH] Avoid auto-scroll after deleting a message See WhisperSystems/TextSecure#139 This fix involves setting transcriptMode to normal on conversation view, which resolves the issue but comes with the side effect that if you have scrolled away from the bottom of the list, new incoming messages will not trigger auto-scroll as they arrive. --- res/layout/conversation_fragment.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/layout/conversation_fragment.xml b/res/layout/conversation_fragment.xml index 59baeac3ba..0df83e5e1d 100644 --- a/res/layout/conversation_fragment.xml +++ b/res/layout/conversation_fragment.xml @@ -11,7 +11,7 @@ android:layout_height="0dp" android:layout_weight="1.0" android:drawSelectorOnTop="true" - android:transcriptMode="alwaysScroll" + android:transcriptMode="normal" android:scrollbarAlwaysDrawVerticalTrack="false" android:scrollbarStyle="insideOverlay" android:stackFromBottom="true"