All Projects → hfrommane → Progressbarwithnumber

hfrommane / Progressbarwithnumber

Android带圆形数字进度的自定义进度条

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Progressbarwithnumber

Progressbar
Terminal-based progress bar for Java / JVM
Stars: ✭ 625 (+977.59%)
Mutual labels:  progressbar
Vvcircleprogressbar
A custom circle progress bar with pulse animation.
Stars: ✭ 26 (-55.17%)
Mutual labels:  progressbar
Spincounterview
🎡 一个类似于码表变化的旋转计数器动画控件
Stars: ✭ 47 (-18.97%)
Mutual labels:  progressbar
Python Progressbar
Progressbar 2 - A progress bar for Python 2 and Python 3 - "pip install progressbar2"
Stars: ✭ 682 (+1075.86%)
Mutual labels:  progressbar
Ngx Progressbar
Angular progress bar ☄
Stars: ✭ 813 (+1301.72%)
Mutual labels:  progressbar
Android Holocircularprogressbar
Holo Circular ProgressBar
Stars: ✭ 966 (+1565.52%)
Mutual labels:  progressbar
Konsole
Home of the simple console library consisting of ProgressBar, Window, Form, Draw & MockConsole (C# console progress bar with support for single or multithreaded progress updates) Window is a 100%-ish console compatible window, supporting all normal console writing to a windowed section of the screen, supporting scrolling and clipping of console output.
Stars: ✭ 467 (+705.17%)
Mutual labels:  progressbar
Progress Bar
Multiplatform netstandard 2.0 C# console progress bar, with support for single or multithreaded progress updates.
Stars: ✭ 53 (-8.62%)
Mutual labels:  progressbar
Roundprogresstextview
TextView with Round Pogress
Stars: ✭ 18 (-68.97%)
Mutual labels:  progressbar
Niceprogressbar
a nice progressbar for android
Stars: ✭ 37 (-36.21%)
Mutual labels:  progressbar
React Circular Progressbar
A circular progressbar component, built with SVG and extensively customizable
Stars: ✭ 742 (+1179.31%)
Mutual labels:  progressbar
Ringprogressbar
A material design circle the progress bar.
Stars: ✭ 789 (+1260.34%)
Mutual labels:  progressbar
Progressbar.js
Responsive and slick progress bars
Stars: ✭ 7,499 (+12829.31%)
Mutual labels:  progressbar
Ep
enhance your HTML5 progress bars with minimal effort!
Stars: ✭ 648 (+1017.24%)
Mutual labels:  progressbar
Missme
Same Old Android Progress Dialog
Stars: ✭ 49 (-15.52%)
Mutual labels:  progressbar
Multiprogressview
📊 An animatable view that depicts multiple progresses over time. Modeled after UIProgressView
Stars: ✭ 614 (+958.62%)
Mutual labels:  progressbar
Vue Step Progress
A simple Vue component that displays a Progress Bar with labels for each step
Stars: ✭ 26 (-55.17%)
Mutual labels:  progressbar
Toothyprogress
A polyline determinated ProgressBar written in Kotlin
Stars: ✭ 56 (-3.45%)
Mutual labels:  progressbar
Progress
Progress replacing ProgressDialog
Stars: ✭ 52 (-10.34%)
Mutual labels:  progressbar
React Customizable Progressbar
Customizable circular progress bar component for React 🍩
Stars: ✭ 37 (-36.21%)
Mutual labels:  progressbar

开发

设计搞了一个带圆形进度的进度条,在GitHub上逛了一圈,发现没有,自己撸吧。

先看界面效果:

主要思路是写一个继承ProgressBar的自定义View。

使用

在布局文件中加入:

<com.fun.progressbarwithnumber.HorizontalProgressBarWithNumber
        android:id="@+id/hpbwn"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_margin="10dp"
        fun:progress_circle_color="#ff000000"
        fun:progress_reached_bar_height="20dp"
        fun:progress_reached_color="#FFFF4081"
        fun:progress_text_color="#ffffffff"
        fun:progress_text_size="14sp"
        fun:progress_unreached_bar_height="20dp"
        fun:progress_unreached_color="#ffBCB4E8" />
  1. progress_reached_bar_height:当前进度的高度
  2. progress_unreached_bar_height:剩余进度的高度
  3. progress_text_size:圆圈内文字的大小

注意: 当前进度和剩余进度的高度要一致,圆圈大小和圆圈内文字的大小要配合Java代码调整

如果您喜欢在Github上给个Star,如果转载请注明出处,感谢。

吼吼吼,就这样。

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].