有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!


共 (1) 个答案

  1. # 1 楼答案

    在onClick方法中复制并粘贴以下代码:

    String theText= textview1.getText().toString();//get the text from the textview
    textview2.setText(theText);//set the text to the other textview