How can I register a context menu for a scroll view?
<p>I have an android loyout like this:</p>

<pre><code>&lt;ScrollView
   android:layout_width="fill_parent"
   android:layout_height="fill_parent"
   android:id="@+id/scrollview"&gt;
       &lt;TextView
           android:id="@+id/text"
           android:layout_width="wrap_content"
            android:layout_height="wrap_content" /&gt;
 &lt;/ScrollView&gt;
</code></pre>

<p>How can I register a context menu so that it will pop up when user long press anywhere in the scroll view?</p>

<p>I have tried find the scrollview and and register context menu for that:</p>

<pre><code>ScrollView scrollView = findViewById(R.id.scrollview);
registerForContextMenu(scrollView);
</code></pre>

<p>But that does not, I don't see any context menu pops up. The only way works is if I register my text view for context menu.</p>

<p>But that may cause bad experience since my text view sometimes can be short (1-2 lines/1-2 words) and sometimes it can be long (mult sentences).</p>

<p>What is the best way to fix this?</p>
