Getting EditText field from XML

Posted by DrogoNevets on Stack Overflow See other posts from Stack Overflow or by DrogoNevets
Published on 2010-03-23T11:26:30Z Indexed on 2010/03/23 16:43 UTC
Read the original article Hit count: 431

Filed under:
|
|

I have an activity in my app, when i call the line

EditText username = (EditText)findViewById(R.id.usernameText);

the app crashes, why is this?

© Stack Overflow or respective owner

Related posts about android

Related posts about edittext