All Projects → VaibhavLakhera → Circular-Progress-View

VaibhavLakhera / Circular-Progress-View

Licence: MIT license
A customisable circular progress view for android.

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Circular-Progress-View

XCArcProgressView
Android开口圆环比例进度View(高仿猎豹清理大师内存占用比例View)
Stars: ✭ 28 (-28.21%)
Mutual labels:  custom-view, android-ui, progress-circle, progress-view
Codeview Android
Display code with syntax highlighting ✨ in native way.
Stars: ✭ 748 (+1817.95%)
Mutual labels:  custom-view, android-ui
Freepager
ViewPagers library for Android
Stars: ✭ 461 (+1082.05%)
Mutual labels:  custom-view, android-ui
Peppy Calendarview
Simple and fast Material Design calendar view for Android.
Stars: ✭ 30 (-23.08%)
Mutual labels:  custom-view, android-ui
signal-strength-view
📶 Material design signal strength view for Android
Stars: ✭ 30 (-23.08%)
Mutual labels:  custom-view, android-ui
Tableview
TableView is a powerful Android library for displaying complex data structures and rendering tabular data composed of rows, columns and cells.
Stars: ✭ 2,928 (+7407.69%)
Mutual labels:  custom-view, android-ui
Xcdanmuview
Android弹幕效果View-支持左右两个方向
Stars: ✭ 28 (-28.21%)
Mutual labels:  custom-view, android-ui
mCustomView
总结了博主这么多年所写的自定义view,以及自定义view的教程
Stars: ✭ 17 (-56.41%)
Mutual labels:  custom-view, android-ui
Testleavesloading
Android 自定义 View 之 LeavesLoading
Stars: ✭ 55 (+41.03%)
Mutual labels:  custom-view, android-ui
Battery Meter View
🔋 Material design battery meter (i.e. level, state) view for Android
Stars: ✭ 57 (+46.15%)
Mutual labels:  custom-view, android-ui
Consecutivescroller
ConsecutiveScrollerLayout是Android下支持多个滑动布局(RecyclerView、WebView、ScrollView等)和普通控件(TextView、ImageView、LinearLayou、自定义View等)持续连贯滑动的容器,它使所有的子View像一个整体一样连续顺畅滑动。并且支持布局吸顶功能。
Stars: ✭ 1,383 (+3446.15%)
Mutual labels:  custom-view, android-ui
WaveView
Simple Android library to draw sinusoidal waves.
Stars: ✭ 43 (+10.26%)
Mutual labels:  custom-view, android-ui
android-tableview-kotlin
Android's missing TableView component.
Stars: ✭ 40 (+2.56%)
Mutual labels:  custom-view, android-ui
Pudding
🌟 Pudding use WindowManager(don't need request permission) to pull down a view that are displayed on top their attached window
Stars: ✭ 371 (+851.28%)
Mutual labels:  custom-view, android-ui
RoundCornerProgress
No description or website provided.
Stars: ✭ 14 (-64.1%)
Mutual labels:  custom-view, progress-view
Labelsview
Android的标签列表控件。可以设置标签的选中效果。 可以设置标签的选中类型:不可选中、单选、限数量多选和不限数量多选等, 并支持设置必选项、单行显示、最大显示行数等功能。
Stars: ✭ 777 (+1892.31%)
Mutual labels:  custom-view, android-ui
Image-Support
Add badge with counter to ImageView Android.
Stars: ✭ 128 (+228.21%)
Mutual labels:  custom-view, android-ui
RxLoading
RxJava library for showing a loading (i.e. progress bar) state while waiting for async data with minimal effort and advanced options.
Stars: ✭ 49 (+25.64%)
Mutual labels:  custom-view, android-ui
Bluetooth State View
Material design animated Bluetooth state view for Android
Stars: ✭ 36 (-7.69%)
Mutual labels:  custom-view, android-ui
Swipelayout
A library what allows you to execute a swipe for the android platform
Stars: ✭ 150 (+284.62%)
Mutual labels:  custom-view, android-ui

Circular Progress View

A customisable circular progress view for android.

MainImage

Highlights:

  • Depends on Kotlin(1.2.70) and Android Support AppCompat(28.0.0)
  • minSdkVersion(14) and targetSdkVersion(28)
  • View state is retained on configuration change

Attributes:

Attribute Type Description
app:totalValue Integer Total progress. By default it is 100.
app:totalColor Color Total progress color
app:totalWidth Dimension Width of total progress
app:progressValue Integer Current progress. It should be less than or equal to "total". It will be set to "total" if it is set to more than "total"
app:progressColor Color Current progress color
app:progressWidth Dimension Width of current progress
app:progressRoundCap Boolean Enable or disable rounded cap of current progress. Disabled by default.
app:progressTextEnabled Boolean Enable or disable the progress text. Disabled by default.
app:progressTextType Enum (progress or percent) "progress" will show the value of current progress and "percent" will show percent of current progress out of total. By default it is "progress"
app:progressTextSize Dimension Text size of progress text
app:progressTextColor Color Color of progress text
app:progressInterpolator Reference Interpolator reference. Default is @android:anim/linear_interpolator
app:fillColor Color Fill color begins from center of the view to the inner radius of the total progress
app:startAngle Float Start angle in degrees for current progress. By default it is 270 so that it starts from the top.
app:animate Boolean Enable or disable animation when current progress changes. Disabled by default.
app:animateDuration Integer Current progress change animate duration in milliseconds. 300 ms by default.

Usage:

<com.vaibhavlakhera.circularprogressview.CircularProgressView
        android:id="@+id/progressView"
        android:layout_width="164dp"
        android:layout_height="164dp"
        app:animate="true"
        app:animateDuration="600"
        app:fillColor="@color/colorPrimary"
        app:progressValue="10"
        app:progressColor="#FFF"
        app:progressInterpolator="@android:anim/accelerate_decelerate_interpolator"
        app:progressRoundCap="true"
        app:progressTextColor="#FFF"
        app:progressTextEnabled="true"
        app:progressTextSize="32sp"
        app:progressTextType="progress"
        app:progressWidth="12dp"
        app:startAngle="270"
        app:totalValue="100"
        app:totalColor="@color/colorPrimaryDark"
        app:totalWidth="20dp" />

Add it to your project:

Step 1. Add the JitPack repository to your root build.gradle at the end of repositories

allprojects {
  repositories {
    ...
    maven { url 'https://jitpack.io' }
  }
}

Step 2. Add the dependency

dependencies {
  implementation "com.github.VaibhavLakhera:Circular-Progress-View:$latestVersion"
}

Author

Vaibhav Lakhera

License MIT

Copyright (c) 2018 Vaibhav Lakhera

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
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].