title: There is no way to prevent ScrollView from automatically scrolling when TextView is focused?
body: <p>If I click text2 for the first time or whenever I click text2 after clicking text1, the <code>ScrollView</code> seems to be scrolling text2 to the top. If I put <code>android:descendantFocusability=&quot;blocksDescendants&quot;</code> in the <code>LinearLayout</code> this scrolling does not happen, but I cannot select the text.</p>
  <p>What I want is simple: I do not want this auto-scrolling. Is it IMPOSSIBLE to disable this behaviour of <code>ScrollView</code> and the I would have to create my own scroll view class from scratch? If it is impossible, please write that as an answer, so I could give it up.</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
  &lt;ScrollView
          xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
          android:layout_width=&quot;match_parent&quot;
          android:layout_height=&quot;match_parent&quot;&gt;
          &lt;LinearLayout
                  android:orientation=&quot;vertical&quot;
                  android:layout_width=&quot;match_parent&quot;
                  android:layout_height=&quot;wrap_content&quot;&gt;
              &lt;TextView
                      android:text=&quot;I am text 1. Click me.&quot;
                      android:textColor=&quot;@color/black&quot;
                      android:textIsSelectable=&quot;true&quot;
                      android:background=&quot;#FF0000&quot;
                      android:layout_width=&quot;match_parent&quot;
                      android:layout_height=&quot;400dp&quot;/&gt;
              &lt;TextView
                      android:text=&quot;I am text 2. Click me.&quot;
                      android:textIsSelectable=&quot;true&quot;
                      android:background=&quot;#00FF00&quot;
                      android:textColor=&quot;@color/black&quot;
                      android:layout_width=&quot;match_parent&quot;
                      android:layout_height=&quot;1000dp&quot;/&gt;
          &lt;/LinearLayout&gt;
  &lt;/ScrollView&gt;
  </code></pre>
  <p><a href="https://i.stack.imgur.com/QklKt.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QklKt.gif" alt="enter image description here" /></a></p>