The emulator isn't showing the XML contents
Posted
by
Roni Copul
on Stack Overflow
See other posts from Stack Overflow
or by Roni Copul
Published on 2012-07-08T09:08:51Z
Indexed on
2012/07/08
9:15 UTC
Read the original article
Hit count: 216
I have been reading Google's android tutorial (link added in the first comment) and I got a problem...
In the tutorial they explain the XML elements (EditText 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 even tried adding this line to the onCreate function -
System.out.println("Hello World!");
but still the emulator is showing only black screen..
Here's the .java main file - http://pastebin.com/G5J9YjNe
And the XML files (I mentioned what code is what file) - http://pastebin.com/VnRwAfMW
What should I do?
Thanks a lot for everyone who will help!
© Stack Overflow or respective owner