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>
How to customize chrisbanes / ActionBar-PullToRefresh or change the colour of pull to refresh bar
-
07-10-2022 - |
質問
i am using the chrisbanes / ActionBar-PullToRefresh from this link https://github.com/chrisbanes/ActionBar-PullToRefresh and i have created custom list-view and i wan to change the colour of pull to refresh bar and text colour on it as you can see in picture it is in black colour. please anyone guide me. ![enter image description here][1]
解決
所属していません StackOverflow