For those who have the same problem, I finally made my own implementation of showPointIntoView:
public static void bringPointIntoView (TextView textView, ScrollView scrollView, int offset) { int line = textView.getLayout ().getLineForOffset (offset); int y = (int) ((line + 0.5) * textView.getLineHeight ()); scrollView.smoothScrollTo (0, y - scrollView.getHeight () / 2); }
Feel free to have a better solution.
source share