murphy wrote: > Do you mean put the setContentView() before findViewById()? I tried > that but it still comes up blank. Sorry if I'm not understanding you.
All I can tell you is that having setContentView() in a button's click handler is a "code smell". Having more than one setContentView() in an activity is possible but rather unusual and not recommended for newcomers to Android. Change your code to only call setContentView() once, early in onCreate(). If that does not clear up your problem, confirm your ImageView works with something other than the downloaded GIF, such as a Drawable resource (e.g., res/drawable/test_image.png). -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Training: http://commonsware.com/training.html --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---