TreKing, you're my savior.  Not calling findViewById() using the view
I just inflated was the problem.

On Sep 28, 4:33 pm, TreKing <[email protected]> wrote:
> On Tue, Sep 28, 2010 at 3:22 PM, Wall-E <[email protected]> wrote:
> > Am I on the right track in terms of having to inflate the layout first?
>
> Yes.
>
> > If so, is there a reason why it's returning null when I try to access the
> > ImageView and if so how can I fix it?
>
> First guess: here
> ImageView lightbulbImageView = (ImageView)
> findViewById(R.id.lightBulbAnimation);
>
> Are you calling findViewByID on the layout you just inflated? Because you
> should be.
>
> --------------------------------------------------------------------------- 
> ----------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices

-- 
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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to