have you placed the files in proper directories............notes_row.xml must be in under res>layout folder................
On 1/8/09, Teena <[email protected]> wrote: > > > Hi all. > > I'm following through the notepad tutorial. I'm in Exercise 1 and in step > 5 > it says at the end of step 5: > http://code.google.com/android/intro/tutorial-ex1.html > > "Open the R.java class in the project and look at it, you should see new > definitions for notes_row and text1 (our new definitions) meaning we can > now > gain access to these from the our code." > > I don't have these new definitions as far as I can tell. I'm learning the > interface of eclipse at the same time, so I might not be looking in the > right place. Here is the contents of my R.java: > > /* AUTO-GENERATED FILE. DO NOT MODIFY. > * > * This class was automatically generated by the > * aapt tool from the resource data it found. It > * should not be modified by hand. > */ > > package com.android.demo.notepad1; > > public final class R { > public static final class attr { > } > public static final class drawable { > public static final int icon=0x7f020000; > } > public static final class layout { > public static final int notepad_list=0x7f030000; > } > public static final class string { > public static final int app_name=0x7f040000; > public static final int no_notes=0x7f040001; > } > } > > I'm looking under Notepadv1 > src > com.android.demo.notepad1 > R.java in > the Package Explorer. Can anyone suggest why my new definitions are not > there? > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

