Android ContentLoadingProgressBar 进度条控件
Android About 866 words控件
<android.support.v4.widget.ContentLoadingProgressBar
android:id="@+id/address_looking_up"
style="?android:attr/progressBarStyleLarge"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"/>
Progressbar 样式
style="@style/Base.Widget.AppCompat.ProgressBar.Horizontal"
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
style="@style/Widget.AppCompat.ProgressBar"
style="@style/Base.Widget.AppCompat.ProgressBar"
max 最大值 progress 当前值
android:max="100"
android:progress="0"
方法
void hide()
Hide the progress view if it is visible.
void onAttachedToWindow()
This is called when the view is attached to a window.
void onDetachedFromWindow()
This is called when the view is detached from a window.
void show()
Show the progress view after waiting for a minimum delay.
Views: 9,369 · Posted: 2019-04-11
————        END        ————
Give me a Star, Thanks:)
https://github.com/fendoudebb/LiteNote扫描下方二维码关注公众号和小程序↓↓↓
Loading...