Adding the contents from XML to Java

SerenaZiemkenky

New Member
I have been reading this tutorial -
http://developer.android.com/training/basics/firstapp/building-ui.html
and I got a problem... In the tutorial they explain the XML elements (TextField and Button) and in the end they say how to tun the program to see the button + the text field.
The problem is, that the emulator doesn't show them.. just a black screen.
I guess it's because I haven't added anything to the .java main file, but in the tutorial nothing was mentioned about it.
What should I do?
Thanks a lot for everyone who will help!
 
Back
Top