Skip to content

Latest commit

 

History

History
50 lines (42 loc) · 1.41 KB

README.md

File metadata and controls

50 lines (42 loc) · 1.41 KB

Android-VerticalProgressBar

垂直的ProgressBar和Seekbar

Author

Halzhang
Email:[email protected]

Overview

垂直方向的ProgressBar和SeekBar
image

Usage

Layout

<com.halzhang.android.verticalprogressbar.VerticalSeekBar
    android:id="@+id/verticalSeekBar"
    android:layout_width="wrap_content"
    android:layout_height="match_parent"
    android:max="1000"
    android:progress="2"
    android:maxWidth="50dip"
    android:minWidth="50dip" />

<com.halzhang.android.verticalprogressbar.VerticalProgressBar
    style="@android:style/Widget.ProgressBar.Horizontal"
    android:id="@+id/verticalProgressBar"
    android:layout_width="wrap_content"
    android:layout_height="match_parent"
    android:max="1000"
    android:progress="500"
    android:maxWidth="10dip"
    android:minWidth="10dip" />

License

WTFPL, although attribution would be nice.