2012-10-09 45 views
0

我已經制作了一個可滾動的標籤,問題是它顯示了一個白色的條以表示更多的標籤可用,如何擺脫此條從開始&結束? tab with white strip at end如何從可滾動標籤中刪除白色條紋?

這裏是XML:

<HorizontalScrollView 
       android:layout_width="fill_parent" 
       android:layout_height="wrap_content" 
       android:layout_alignParentBottom="true" 
       android:fillViewport="true" 
       android:overScrollMode="never" 
       android:scrollbars="none" > 

       <TabWidget 
        android:id="@android:id/tabs" 
        android:layout_width="wrap_content" 
        android:layout_height="wrap_content" 
        android:background="@drawable/menu_bg" /> 
      </HorizontalScrollView> 
+0

可滾動的選項卡已經可以通過ActionBar(你在sdk示例中有兼容性lib)。因爲這是一個列表,所以白色條總是可見的。 – kjurkovic

回答