progressbar以前用大神的,gayhub地址:https://github.com/pnikosis/materialish-progress。
后来发现原生的也蛮好的。就是不知怎么变颜色,百度一大圈没一个简单靠谱的。最后发现是这个属性。
<ProgressBar
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:indeterminateTint="#0000ff"
/>
哎。