这就是我所拥有的
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
EditText editText = (EditText)findViewById(R.id.subject1);
TextView textView = (TextView)findViewById(R.id.testText);
String value = editText.getText().toString();
textView.setText(value);
}
由于某种原因,这不起作用?它只是使 textView 空白