java获取textview的文本并将其粘贴到另一个上 3 周,1 日 Questions & Answers 45 我有一个文本视图,上面写着H2O。现在单击一次,我想复制第一个文本视图的文本并粘贴到另一个文本视图上
# 1 楼答案 在onClick方法中复制并粘贴以下代码: String theText= textview1.getText().toString();//get the text from the textview textview2.setText(theText);//set the text to the other textview
# 1 楼答案
在onClick方法中复制并粘贴以下代码: