Reputation: 853
Hi i don't know what it is called so i don't know what to search for,hence here it is...
Please tell me what it is called and how to change it's color
This blue color appears when you pull a list view or a fragment.I want to change it
Upvotes: 2
Views: 884
Reputation: 5056
There's a function setOverscrollHeader() Use the drawable component within the parentheses.
Upvotes: 2
Reputation: 44118
It's called the Overscroll. You can set the drawable like this
setOverscrollHeader(R.drawable.the_header);
setOverscrollFooter(R.drawable.the_footer);
You can also set it on your ListView through xml:
android:overScrollHeader="@drawable/the_header"
android:overScrollFooter="@drawable/the_footer"
Upvotes: 2