In one spot of my app, I use a LayoutInflater to create a little
settings window.  On versions of Android prior to Gingerbread this
works beautifully, but on Gingerbread there is an unsightly black
background shown behind the XML view.  It seems to be like a base
context menu background or something, but I cannot for the life of me
figure out how to get rid of it, as it really makes things look bad.

I figured if I set the window to wrap_content that it would just
shrink down to the size of the XML and be fine, but it is still
slightly bigger on the Y, and stretches all the way across the screen
on the X.  Even if I set the size to exact pixel values, or ones based
on the pixel width/height of the screen, you can still see the black
background, and if I do that it also does this weird graphical glitch
on the side that makes it look even worse.

If somebody knows of a simple solution to this I'd be really grateful
to hear it.  Ideally I'd like to fix it without ruining the current
setup, since it works perfect with older versions, but I'll do
whatever has to be done to get it done right.

Thank you.

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