Thanks Mark, that was it.

On May 13, 8:05 am, Mark Murphy <[EMAIL PROTECTED]> wrote:
> guysmily wrote:
> > I simply want to display an image. I can't seem to get it working.
> > What am I missing?
>
> You are calling setContentView(tv) to set the activity's view to be a
> dynamically-created TextView. If you want to use your layout, you need
> to call setContentView(R.layout.main).
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> The Busy Coder's Guide to Android Development -- coming in June 2008!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to