From 87d840db250105d542d3723f9adc528070db0d57 Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 24 Feb 2020 13:38:41 +0100 Subject: [PATCH] Fixed scroll issues --- app/src/main/java/eu/faircode/email/FixedScrollView.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/FixedScrollView.java b/app/src/main/java/eu/faircode/email/FixedScrollView.java index c3ab9d11ed..0fa0c0e76a 100644 --- a/app/src/main/java/eu/faircode/email/FixedScrollView.java +++ b/app/src/main/java/eu/faircode/email/FixedScrollView.java @@ -20,8 +20,8 @@ package eu.faircode.email; */ import android.content.Context; -import android.graphics.Rect; import android.util.AttributeSet; +import android.view.View; import android.widget.ScrollView; public class FixedScrollView extends ScrollView { @@ -42,7 +42,6 @@ public class FixedScrollView extends ScrollView { } @Override - protected int computeScrollDeltaToGetChildRectOnScreen(Rect rect) { - return 0; + public void requestChildFocus(View child, View focused) { } }