views:

120

answers:

2

Hi out there,

have a problem, setting a Text to a TextView.

TextView android:editable = "true".

In my .java it seems like that

 text = (EditText) findViewById(R.id.this_is_the_id_of_textview);
text.setText("TEST");

But it doesnt work, dont know, whats wrong..hope u can help me:)

A: 

Ok, got it :)

my Variable text was of Type TextEdit and not TextView.

Christoph
A: 

Did you adjust LayoutParams to your TextEdit? (in layout or in runtime)?

Igor