-4
我一直在設計一個小應用程序,我很新使用ViewPager。ViewPager碎片之間的神祕分隔符?
當在特定片段(星期二和星期三,星期日和星期一)之間切換時,我有時會看到從顯然無處出現的這個灰色邊框。我希望有人能夠告訴我如何刪除它?
這是我的風格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>
所有幫助非常感謝,如果我的代碼的任何其他片段將是有用的,如果需要我會後他們。
它看起來像一個滾動條給我 – Blackbelt
它是一個滾動條到星期二片段。 –
@Blackbelt非常感謝,我不能相信我錯過了。 – Peter