• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Creating layouts.

AlysiumX

Lurker
I cant seem to get eclipse to recognize my xml layouts. I followed the notepad tutorial on developers.android.com to the letter but when I go to set the content view, it doesn't recognize my layouts.

setContentView(R.layout.notepad_list);

is and error even though I have a notepad_list in my res/layout folder.

Can someone please help me? I must be missing something.

edit : nvm i figured it out, I was importing the android.R which was breaking the program for whatever reason.
 
Back
Top Bottom