posted 10 years ago
Hi,
I'm newbie in Android and I can't create a simple LinearLayout. I have the following code in several files:
Principal.xml
strings.xml
LayoutActivity.java
Errors are in the last file, when I try to change the main activity's name. I have errors in lines setContentView and getMenuInflater. The error is:
principal cannot be resolved or is not a field.
I save principal.xml file in res/layout and string.xml in res/values folder. LayoutActivity.java is in src/example.interfaces folder.
How can I fix this error?
I'm working with Eclipse and API Level 16.
Thanks.