-4

我一直在設計一個小應用程序,我很新使用ViewPager。ViewPager碎片之間的神祕分隔符?

當在特定片段(星期二和星期三,星期日和星期一)之間切換時,我有時會看到從顯然無處出現的這個灰色邊框。我希望有人能夠告訴我如何刪除它?

這是border I was talking about

這是我的風格XML文件:

<resources> 
<!--Base application theme. --> 
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> 
    <!-- Customize your theme here. --> 
    <item name="colorPrimary">@color/colorPrimary</item> 
    <item name="colorPrimaryDark">@color/colorPrimaryDark</item> 
    <item name="colorAccent">@color/colorAccent</item> 
    <item name="android:windowContentOverlay">@null</item> 
    <item name="android:actionBarStyle">@style/DowningBarStyle</item> 
</style> 
<style name="DowningBarStyle"  parent="style/Widget.AppCompat.Light.ActionBar.Solid.Inverse"> 
    <item name="elevation">0dp</item> 
</style> 
</resources> 

所有幫助非常感謝,如果我的代碼的任何其他片段將是有用的,如果需要我會後他們。

+2

它看起來像一個滾動條給我 – Blackbelt

+1

它是一個滾動條到星期二片段。 –

+0

@Blackbelt非常感謝,我不能相信我錯過了。 – Peter

回答

0

如果您正在使用填充單日的數據列表視圖或微調嘗試把

的android:滾動條=「無」在裏面。