在android 4.1系统中使用Editor控件的时候为什么获得不了Text属性
在android 4.1系统中使用Editor控件的时候 为什么获得不了Text属性
public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_testv_iewmain); editor=(Editor)findViewById(R.id.editText1); editor.getText(); }