I've got a problem with Jelly Bean (Nexus 7 tablet) that is driving me
nuts. I cannot get a solid white background color on any view. I have the
following layout setup:
- RelativeLayout (root) with android:background="@android:color/white"
- android.support.v4.view.ViewPager with
android:background="@android:color/white" (redundancy out of
desperation)
- RelativeLayout with
android:background="@android:color/white"(redundancy out of desperation)
- Contains a *graphical about screen* arrangement with a
transparent gap in the middle. The gap appears grey instead of white
- WebView
- com.viewpagerindicator.UnderlinePageIndicator
No matter what I tried: turning off hardware acceleration, removing the
WebView,
specifying "#FFFFFFFF" as background color everywhere: it does not work.
The white background color is always rendered as some semi-transparent gray.
I even verified that weird behavior by adding a solid white background
color to one of the sub-views of the about screen. That sub-view is
floating in a grayish semi-transparent box on top of its colorful
background. What is going on here? What am I missing? The very same code
works just fine on older Android versions.
--
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