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
Post a Comment