TabHost divider between Tab Content

by Theodotus » Wed, 14 Apr 2010 03:03:53 GMT

Sponsored Links
 I'm using a TabHost in my activity and I'm drawing a background image
behind the tabs.  I've set the TabHost.TabSpec views to have a
transparent background (so it will look like the tab icon is part of
the background).  However, for any tab not currently selected, there
is a white horizontal bar separating the tabs (above) from the content

Anyone know how to get rid of this?  I tried changing it's color, but
I couldn't find out where the divider is being defined (and if I could
change its color, I could make it transparent).

Any help would be appreciated.


Other Threads

1. Where is the code of portable version of the dalvik interpreter

I'm planning to port dalvik to a new platform, and I think the
portable version of interpreter may be a good start. But I'm not very
clear of the source code structure. Could anyone help me? Thanks!

2. LinearLayout cuts off parts of my views! (MeasuredHeight problem?)

Hello, I'm trying to construct a layout comprised of several
linearLayouts (parents with multiple children-some vertical and some
horizontal to format things the way I want). While this may not
actually be the way I should go about this problem (I'm going to look
into using a tableLayout soon), I'm a bit curious as to why I'm
encountering this issue either way.

I encased the entire layout in a scrollview because it will ultimately
take up a bit more screen real-estate than is available when I have
things padded correctly. When I start trying to space things out (I've
tried padding and margins), it seems like the linearlayouts still
'take up' the space even though the actual visible part of the view is
shifted downwards. I did some reading about how Android draws views,
and this seems to me to be a discrepancy between my Height and my
MeasuredHeight on these layouts.

What is the correct approach to this problem? I'll probably try other
solutions regardless, but I am curious as to how spacing can be done
in LinearLayout without ending up with layouts covering one another.
Thanks in advance for any suggestions!

3. How to use jdb? "Deferring breakpoint ... It will be set after the class is loaded."

4. ATITC graphics format

5. Telling another activity which item was clicked.

6. How to simulate a TrackBall Event in emulator?

7. Instrumentation on the virtual keyboard.