Sounds like a bug in the framework.  What version of the platform are you
running against?  You may want to consider filing a bug with code to
reproduce (after verifying the problem still happens in 2.2 of course).

On Sat, Aug 14, 2010 at 11:23 PM, Peter Eastman <peter.east...@gmail.com>wrote:

> Thanks.  With that change it's better, but still not quite right.  Let
> me try to describe exactly what I'm seeing.
>
> My layout consists of a GLSurfaceView that fills most of the screen,
> and some buttons at the bottom.  The hierarchy is as follows:
>
> LinearLayout1
>  GLSurfaceView
>  LinearLayout2
>    Button1
>    Button2
>    ...
>
> When I first run the activity, it comes out basically correct.  That
> is, it lays out the view the size of the full screen, but pushed down
> by the height of the notification bar so the buttons are sticking off
> the bottom.  But you only see that for a fraction of a second.  Then
> the notification bar slides off, and the view slides up to fit the
> screen.  All is good.
>
> Now I hit the Home button to return to the home screen.  Then I hold
> down Home to get the list of recent applications and select mine.
> This time things get drawn differently.  When the notification bar
> slides off, the GLSurfaceView slides up to the correct place.  And the
> buttons slide up within LinearLayout2.  But the bounds of
> LinearLayout2 do NOT get updated.  So I'm left with a gap between the
> GLSurfaceView and the buttons, and the top half of the buttons get cut
> off.
>
> Does that make sense?
>
> Peter
>
> --
> 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
>



-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
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