I have a textview which displays a lot of text.
My users want to highlight and copy a snip of code to the clipboard.
Any pointers on how to do that?
Have you tried Copy Paste - Android Developers Site?
vrbsm
Modify the textIsSelectable
property:
android:textIsSelectable="true"
来源:https://stackoverflow.com/questions/3605155/android-copy-and-paste-with-textview