I’m having a problem with setting text to a TextView:
TextView android:editable = "true".
In my .java it seems like that this should work:
text = (EditText) findViewById(R.id.this_is_the_id_of_textview);
text.setText("TEST");
But it doesn’t. Can anyone tell me what’s wrong here?
In your java class, set the “
EditText” Type to “TextView“. Because you have declared aTextViewin thelayout.xmlfile