android - How to customize chrisbanes / ActionBar-PullToRefresh or change the colour of pull to refresh bar -


i using chrisbanes / actionbar-pulltorefresh link https://github.com/chrisbanes/actionbar-pulltorefresh , have created custom list-view , wan change colour of pull refresh bar , text colour on can see in picture in black colour. please guide me. ![enter image description here][1]

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> 

Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -