ProgressBar
ProgressBar 是android的自带的进度条。
基本方法就不说了,直接贴代码,并加入点自己的理解。
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="20dp"
tools:context="${relativePackage}.${activityClass}" >
<ProgressBar
android:id="@+id/pb"
style="@android:style/Widget.ProgressBar.Horizontal"
android:layout_width=