Hey,

I am wondering if someone can explain this file to me and how it
works. See I have created a very simple project that is suppose to
draw a Background image to the screen. I have created two files,
FirstTryActivity and FirstTryView.

So Here is the line of code that is causing me problems:

mFirstTryView = (FirstTryView)findViewById(R.id.FirstTryView);

R.id.FirstTryView doesn't exist. R didnt create and id for my
FirstTryView and so I am wondering how I can get it to create it. Is
there a line of code that creates it that I am missing or did I add a
file to the project wrong?

I found that with images you just need the image to be in the drawable
folder and it adds it, do I need something similar for my code files?

Thanks for your Help
CW

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to