When uninstalling an android application, or do some configuration, there will show such a horizontal progress bar, like following picture:
It's not the same style like @android:style/Widget.ProgressBar.Horizontal
.
How to use it in my own application?
Just add a STYLE line and your progress becomes horizontal:
<ProgressBar
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/progress"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:max="100"
android:progress="45"/>