Highlight selected list item only on long click?
<p>I'm using this to make a list item visible selected:</p>

<pre><code>&lt;item android:state_activated="true" android:drawable="@android:color/holo_blue_light" /&gt;
</code></pre>

<p>But I want the item only to be highlighted if a longclick is performed (so to say: only during the context menu bar is displayed above).
And on a single click I do not want it to be highlighted, even though performing an action on single click.</p>

<p>How can I disable the activated state only on longclick?</p>
