I am having a simple textview inside a popupwindow with textIsSelectable enabled, however the text does not allowed any selection. I tried playing around with focus but nothing seems to work. Is this a bug or an intended behaviour of the popupwindow?
Side note, autoLink also requires double or even triple click to work.
XML:
android:textIsSelectable="true"
Capitalize your I.
Then in java:
Textview textViewId = findViewById(R.id.textViewId);
textViewId.setTextIsSelectable(true);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.