2013-05-31 78 views
0

我在我的應用程序中添加了PullToRefresh(https://github.com/chrisbanes/Android-PullToRefresh)Listview。PullToRefresh總是在listview的頂部和底部有陰影。如何隱藏它?

然後將其滾動到底部或頂部,它會自動顯示陰影。 enter image description here

我就定像

<com.handmark.pulltorefresh.library.PullToRefreshListView 
    android:id="@+id/pull_refresh_list" 
    android:layout_width="fill_parent" 
    android:layout_height="fill_parent" 
    android:cacheColorHint="#00000000" 
    android:divider="#19000000" 
    android:dividerHeight="4dp" 
    android:fadingEdge="none" 
    android:fastScrollEnabled="false" 
    android:footerDividersEnabled="false" 
    android:headerDividersEnabled="false" 
    android:scrollingCache="false" 
    android:smoothScrollbar="true" /> 

它不能掩蓋它在XML一些屬性。

任何人都可以幫助我?

感謝

回答

0

它是除法我認爲,除去

android:divider="#19000000" 
android:dividerHeight="4dp" 

,它現在應該工作

相關問題