The screen shot below is of a simplified version of the application from the Tab Layout tutorial. You can see a black horizontal line below the tabs. Why is it there and how can I remove it?
+1
A:
Try removing the android:padding
attribute from the FrameLayout
. If you want padding around everything but the top then you'll have to use the padding/Left/Right/Bottom
attributes.
Qberticus
2010-06-19 03:05:28
This worked great, thanks! I guess the role of the black line is to serve as a drop shadow for the tabs panel.
Emanuil
2010-06-19 07:27:12
+1
A:
I think that line results from how the tabs are implemented. If you look at one of my questions about a strange black line I found that it was an artifact of the ActivityGroup
that I was using. This is the same widget that tabs use.
CaseyB
2010-06-19 03:39:32