Figured it out.  For some reason you have to call "bringToFront()" on the
hidden layout.



On Mon, Nov 2, 2009 at 8:40 AM, greenrift <jtgi...@gmail.com> wrote:

> Since I'm not getting a response on the Admob group, I thought I'd ask
> this here...
>
> Scenario:  I am showing an ad banner for a certain period of time, say
> 10 seconds.  In displaying the ad, I set the visibility of a
> TableLayout containing buttons to "gone" and set the visibility of the
> AdView to "visible".  After the 10 seconds pass, I change the
> visibility settings back to their original state: "visible" and "gone"
> respectively.  When the buttons reappear, I am no longer able to click
> on them, almost as if the application is no longer focused.   Nothing
> else works on the view at this point. The only way out of the
> application at this point is to hit the back button.
>
> I have tried just hiding the TableLayout and NOT displaying the
> AdView.  This results in the buttons WORKING.  It seems to be
> something about the AdView taking over the application or something
> and not releasing things back to the main view when it is hidden.
>
> Thoughts?
>
> --
> 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<android-developers%2bunsubscr...@googlegroups.com>
> 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 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

Reply via email to