开发者

Android Copy and Paste with TextView

开发者 https://www.devze.com 2023-01-14 06:38 出处:网络
I have a textview which displays a lot of text. My users want to highlight and copy a snip of code to the clipboard.

I have a textview which displays a lot of text.

My users want to highlight and copy a snip of code to the clipboard.

An开发者_Python百科y pointers on how to do that?


Modify the textIsSelectable property:

android:textIsSelectable="true" 


Have you tried Copy Paste - Android Developers Site?

0

精彩评论

暂无评论...
验证码 换一张
取 消