Perfect, thanks!
On Dec 16, 6:45 pm, Mark Murphy <[email protected]> wrote:
> Tom wrote:
> > Given a View (an ImageButton in my case) can I get the parent Activity
> > from it somehow?
>
> View#getContext() should typically return the activity.
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> _The Busy Coder's Guide to Android Development_ Version 1.9 Available!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---