Skip to content

Commit ce2d1d2

Browse files
author
Chris Banes
committed
Improve ViewPager background
1 parent 9b69b67 commit ce2d1d2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sample/res/layout/activity_ptr_viewpager.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
android:id="@+id/pull_refresh_viewpager"
1111
android:layout_width="fill_parent"
1212
android:layout_height="fill_parent"
13-
ptr:ptrRefreshableViewBackground="@android:color/black"
1413
ptr:ptrAnimationStyle="flip"
1514
ptr:ptrHeaderBackground="@android:color/darker_gray"
16-
ptr:ptrMode="both" />
15+
ptr:ptrMode="both"
16+
ptr:ptrRefreshableViewBackground="?android:attr/windowBackground" />
1717

1818
</FrameLayout>

0 commit comments

Comments
 (0)