Android實(shí)現(xiàn)文件上傳和下載倒計(jì)時(shí)功能的圓形進(jìn)度條
screenshot
截圖展示

import
step1. Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
step2. Add the dependency
dependencies {
compile 'com.github.yanjiabin:ExtendsRingPrigressBar:1.1.1'
}
how to use
in your xml <com.github.yanjiabin.extendsringprogressbarlib.RingProgressBar android:layout_gravity="center" android:id="@+id/progress_bar_1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true" android:layout_alignParentTop="true" app:max="100" 最大進(jìn)度 app:ringColor="@color/colorPrimary" 圓環(huán)的顏色 app:ringProgressColor="@color/colorPrimaryDark" 進(jìn)度條的顏色 app:ringWidth="3dp" 圓環(huán)的寬度 app:style="FILL" 填充狀態(tài)和描邊狀態(tài) 還有一種是STROKE app:textColor="@color/colorPrimary" 顯示文本的顏色 app:textIsShow="true" 是否顯示文本 app:textSize="16sp" />
github地址:
https://github.com/yanjiabin/ExtendsRingPrigressBar
總結(jié)
以上所述是小編給大家介紹的Android實(shí)現(xiàn)文件上傳和下載倒計(jì)時(shí)功能的圓形進(jìn)度條,希望對(duì)大家有所幫助,如果大家有任何疑問請(qǐng)給我留言,小編會(huì)及時(shí)回復(fù)大家的。在此也非常感謝大家對(duì)腳本之家網(wǎng)站的支持!
相關(guān)文章
Android如何實(shí)現(xiàn)時(shí)間線效果(下)
上一篇文章我們講了Android如何實(shí)現(xiàn)時(shí)間線效果,今天計(jì)息上一回的文章圍繞Android實(shí)現(xiàn)時(shí)間線效果內(nèi)容展開更多,需要的朋友可以參考一下2021-11-11
Android通過Service實(shí)現(xiàn)簡單的音樂播放
這篇文章主要介紹了Android通過Service實(shí)現(xiàn)簡單的音樂播放,小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,也給大家做個(gè)參考。一起跟隨小編過來看看吧2018-05-05
Android中EditText禁止輸入表情的實(shí)例代碼
本篇文章主要介紹了Android中EditText禁止輸入表情的實(shí)例代碼,具有一定的參考價(jià)值,有興趣的可以了解一下2017-08-08
Android自定義View實(shí)現(xiàn)多片葉子旋轉(zhuǎn)滑動(dòng)(五)
這篇文章主要為大家詳細(xì)介紹了Android自定義View實(shí)現(xiàn)多片葉子葉子旋轉(zhuǎn)滑動(dòng),具有一定的參考價(jià)值,感興趣的小伙伴們可以參考一下2017-03-03
Android Bitmap的加載優(yōu)化與Cache相關(guān)介紹
這篇文章主要介紹了Android中性能優(yōu)化之Bitmap的加載優(yōu)化與Cache相關(guān)內(nèi)容介紹,文中介紹的很詳細(xì),對(duì)大家具有一定的參考價(jià)值,需要的朋友們下面來一起看看吧。2017-02-02
保持Android Service在手機(jī)休眠后繼續(xù)運(yùn)行的方法
下面小編就為大家分享一篇保持Android Service在手機(jī)休眠后繼續(xù)運(yùn)行的方法,具有很好的參考價(jià)值,希望對(duì)大家有所幫助。一起跟隨小編過來看看吧2018-03-03
Android 自定義TextView實(shí)現(xiàn)滑動(dòng)解鎖高亮文字
這篇文章主要介紹了Android 自定義TextView實(shí)現(xiàn)滑動(dòng)解鎖高亮文字的相關(guān)資料,需要的朋友可以參考下2018-03-03

