Hi,
Anyone knows how to use a Layout file (activity_main.xml) in WM?
I get an error when compiling this:
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
it doesn't know where R.layout.activity_main is.
Tried adding the activity_main.xml file into the 'integrated files' section when compiling , choosing the type of 'layout' but still error.
Regards,
PETER ZHOU