All Projects → edgar-zigis → Segmentedarcview

edgar-zigis / Segmentedarcview

Licence: mit
Unique & beautiful segmented arc view with rich customisation options! RTL supported.

Programming Languages

kotlin
9241 projects
arc
50 projects

Projects that are alternatives of or similar to Segmentedarcview

Progressstatusbar
Another way to show progress. A progress View over the system StatusBar.
Stars: ✭ 283 (+322.39%)
Mutual labels:  material, progressbar, progressview
Material Progressview
🔥A beautiful, gradual and simple used progress view for android.
Stars: ✭ 406 (+505.97%)
Mutual labels:  material, progressbar, progressview
GaugeProgressView
Tired of boring Android progress views? This one is amazing!
Stars: ✭ 17 (-74.63%)
Mutual labels:  material-ui, progressbar, progressview
Materialtimelineview
With MaterialTimelineView you can easily create a material looking timeline.
Stars: ✭ 443 (+561.19%)
Mutual labels:  material, material-ui
Material Auto Rotating Carousel
Introduce users to your app with this Material-style carousel.
Stars: ✭ 400 (+497.01%)
Mutual labels:  material, material-ui
Progressview
🌊 A polished and flexible ProgressView, fully customizable with animations.
Stars: ✭ 425 (+534.33%)
Mutual labels:  progressbar, progressview
Material Table
Datatable for React based on material-ui's table with additional features
Stars: ✭ 3,198 (+4673.13%)
Mutual labels:  material, material-ui
Web
⚡️ Supercharged version of Create React App with all the bells and whistles.
Stars: ✭ 594 (+786.57%)
Mutual labels:  material, material-ui
Android Iconics
Android-Iconics - Use any icon font, or vector (.svg) as drawable in your application.
Stars: ✭ 4,916 (+7237.31%)
Mutual labels:  material, material-ui
Shards Dashboard
🔥A beautiful Bootstrap 4 admin dashboard templates pack.
Stars: ✭ 1,143 (+1605.97%)
Mutual labels:  material, material-ui
Ringprogressbar
A material design circle the progress bar.
Stars: ✭ 789 (+1077.61%)
Mutual labels:  material, progressbar
Theglowingloader
TheGlowingLoader is the highly configurable library to indicate progress and is natively created for Android Platform. It is an implementation of a design composed by Shashank Sahay.
Stars: ✭ 379 (+465.67%)
Mutual labels:  progressbar, progressview
Circleprogressview
🎡 CircleProgressView是一个圆形渐变的进度动画控件(支持外环显示刻度,内环随之变化,配置参数完全可配),动画效果纵享丝滑。
Stars: ✭ 314 (+368.66%)
Mutual labels:  progressbar, progressview
Slidetoact
A simple 'Slide to Unlock' Material widget for Android, written in Kotlin 📱🎨🦄
Stars: ✭ 783 (+1068.66%)
Mutual labels:  material, material-ui
Vvcircleprogressbar
A custom circle progress bar with pulse animation.
Stars: ✭ 26 (-61.19%)
Mutual labels:  progressbar, progressview
Materialfavoritebutton
Animated favorite/star/like button
Stars: ✭ 586 (+774.63%)
Mutual labels:  material, material-ui
Future Web
Starter kit to create PWA with cutting edge technologies
Stars: ✭ 38 (-43.28%)
Mutual labels:  material, material-ui
Create React App Material Typescript Redux
A ready to use boilerplate for starting big react projects
Stars: ✭ 257 (+283.58%)
Mutual labels:  material, material-ui
Sequent
A simple continuous animation library for Android UI.
Stars: ✭ 263 (+292.54%)
Mutual labels:  material, material-ui
Multiprogressview
📊 An animatable view that depicts multiple progresses over time. Modeled after UIProgressView
Stars: ✭ 614 (+816.42%)
Mutual labels:  progressbar, progressview

SegmentedArcView

Unique progress view with rich customisation options! You can set any number of segments, each individual segment can be customised with gradients and there is even an animation option!

Minimum target SDK: 17. RTL SUPPORTED.

alt text

Gradle

Make sure you have jitpack.io included in your gradle repositories.

maven { url "https://jitpack.io" }
implementation 'com.github.edgar-zigis:segmentedarcview:1.1.0'

Usage

<com.zigis.segmentedarcview.SegmentedArcView
    android:id="@+id/progressView"
    android:layout_width="300dp"
    android:layout_height="300dp"
    app:layout_constraintBottom_toBottomOf="parent"
    app:layout_constraintLeft_toLeftOf="parent"
    app:layout_constraintRight_toRightOf="parent"
    app:layout_constraintTop_toTopOf="parent"
    app:sav_title="@string/outstanding_credit"  //  -> custom title text
    app:sav_value="150 €"  //  -> custom value text
    app:sav_titleTypefaceSize="20dp"  //  -> custom title text size
    app:sav_valueTypefaceSize="55dp"  //  -> custom value text size
    app:sav_titleFont="@font/tt_norms_pro_bold"  //  -> custom title font
    app:sav_valueFont="@font/tt_norms_pro_medium"  //  -> custom value font
    app:sav_titleTextColor="@android:color/darker_gray"  //  -> custom title text color
    app:sav_valueTextColor="@android:color/black"  //  -> custom value text color
    app:sav_titleVerticalOffset="20dp"  //  -> offset vertical position of the title
    app:sav_valueVerticalOffset="-10dp"  //  -> offset vertical position of the value
    app:sav_startAngle="150"  //  -> arc start angle in degrees
    app:sav_sweepAngle="240"  //  -> arc sweep angle in degrees
    app:sav_segmentSeparationAngle="9"  //  -> arc separator width in degrees
    app:sav_segmentThickness="8dp"  //  -> individual segment thickness
    app:sav_useCustomSweepAngles="true" />  //  -> enable variable segment sweep angles (note, segment sweeAngles need be set too!)

Some of the parameters however can be only set programmatically

//  if blinking is enabled, then settings can be passed through here
progressView.blinkAnimationSettings = BlinkAnimationSettings(
    minAlpha = 0.4F,
    maxAlpha = 1F,
    duration = 2000L
)

//  you can set any number of segments you like
//  ArcSegment has gradientStart, gradientEnd and animation option
progressView.segments = listOf(
    ArcSegment(Color.parseColor("#eb3f25"), Color.parseColor("#eb3f25")),
    ArcSegment(Color.parseColor("#eb3f25"), Color.parseColor("#eb3f25")),
    ArcSegment(Color.parseColor("#e7ddba"), Color.parseColor("#efc956"), animate = true),
    ArcSegment(Color.parseColor("#e5e5e5"), Color.parseColor("#d3d3d3"))
)
//  if you want to set custom sweep angles, you need to set useCustomSweepAngles param to true
//  via xml or programatically and set angles to each segment you have:
ArcSegment(Color.parseColor("#eb3f25"), Color.parseColor("#eb3f25"), sweepAngle = 30f)
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].