How to enable selection markers for EditText in PopupWindow?
<p>I'm using a EditText in a PopupWindow. It shows OK, but the selection markers do not show up in the EditText. Netiher does the Options menu change when I long press in the EditText. In LogCat I see a warning "TextView does not support text selection. Action mode cancelled."
As a result, the EditText cannot copy/paste text fro the clipboard.
Is there any way to get the "normal" EditText behaviour in a PopupWindow?</p>

<p>This code shows the problem, but I have also tried lots of variations:</p>

<pre><code>EditText edit = new EditText(getContext());
edit.setBackgroundColor(Color.BLUE);
PopupWindow popup = new PopupWindow(edit, 100, 100, true);
popup.setBackgroundDrawable(new BitmapDrawable());
popup.showAtLocation(this, Gravity.NO_GRAVITY, 100, 200);
</code></pre>
