How to configure chrisbanes / ActionBar-PullToRefresh or change the pull color to the update panel

I use chrisbanes / ActionBar-PullToRefresh at this link https://github.com/chrisbanes/ActionBar-PullToRefresh and I created a custom list view and I want to change the extrusion color to refresh the panel and the text color on it, as you can see in the picture, it is black. please someone leads me. ! [enter image description here] [1]

+3
source share
1 answer
Change Progress Bar Color:
defaultHeaderTransformer.setProgressBarColor(getResources().getColor(R.color.accent_color));

Change Text Color:
<item name="ptrHeaderTitleTextAppearance">@style/TextAppearanceCustomPtrHeaderTitle</item>
<style name="TextAppearanceCustomPtrHeaderTitle" parent="android:TextAppearance.Large">
<item name="android:textSize">20dp</item>
<item name="android:textColor">@android:color/white</item>
</style>
+6
source

All Articles