I'm expanding on the hello world application. I've created a button on the main.xml to bring up a new form, screen2.xml, with a second button. I'd like this this button to toast a message. However, as soon as I try add the code to define the OnClickListener, I get a force close message. It happens on this line of code:
final Button btnShowToast = (Button) findViewById(R.id.btnShowToast)
Does this mean one Activity can only access one screen/layout?
Also, in the line above, what does the "final" mean?