It seems like you should generally be able to do this within your Activity, if not, then just send it a message to do so, you're within another window (i.e. dialog?), that seems rather hackish, a better way might be to change it on the dialog's closing..
kris On Sun, Sep 9, 2012 at 11:54 PM, Ravin <[email protected]> wrote: > I want to remove the current view and replace with another view. I was > planning to use setContentView() to do that but in order to do so I need to > access the underlying activity object. > > Is there another way to achieve this? > > > On Sunday, September 9, 2012 7:16:08 PM UTC-7, Ravin wrote: >> >> Is there some way to get the current activity from within a child window. >> I'm sure there is but I cannot seem to find a method in the documentation. > > -- > 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 -- 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

