All Projects → passsy → Android Holocircularprogressbar

passsy / Android Holocircularprogressbar

Holo Circular ProgressBar

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Android Holocircularprogressbar

Widgetcase
自定义控件模块库:各种风格的自定义控件,拿来就用,API文档详细,持续集成,长期维护,有问必答;
Stars: ✭ 440 (-54.45%)
Mutual labels:  custom-view, progressbar
Ancustomview
Blog for @IBDesignable and @IBInspectable in Swift for make Custom View.
Stars: ✭ 14 (-98.55%)
Mutual labels:  custom-view
Creditcardview
💳 CreditCardView is an Android library that allows developers to create the UI which replicates an actual Credit Card.
Stars: ✭ 744 (-22.98%)
Mutual labels:  custom-view
Ngx Progressbar
Angular progress bar ☄
Stars: ✭ 813 (-15.84%)
Mutual labels:  progressbar
Statusview
Custom status view for Android.
Stars: ✭ 775 (-19.77%)
Mutual labels:  custom-view
Vvcircleprogressbar
A custom circle progress bar with pulse animation.
Stars: ✭ 26 (-97.31%)
Mutual labels:  progressbar
Python Progressbar
Progressbar 2 - A progress bar for Python 2 and Python 3 - "pip install progressbar2"
Stars: ✭ 682 (-29.4%)
Mutual labels:  progressbar
Xcdanmuview
Android弹幕效果View-支持左右两个方向
Stars: ✭ 28 (-97.1%)
Mutual labels:  custom-view
Iconswitch
🍭 Custom Android Switch widget
Stars: ✭ 874 (-9.52%)
Mutual labels:  custom-view
Statefullayout
Android layout to show template for loading, empty, error etc. states
Stars: ✭ 813 (-15.84%)
Mutual labels:  custom-view
Draggableflagview
可拖拽的红点,(仿新版QQ,tab下面拖拽标记为已读的效果),拖拽一定的距离可以消失回调。
Stars: ✭ 811 (-16.05%)
Mutual labels:  custom-view
Go Pretty
Pretty print tables and more in golang!
Stars: ✭ 777 (-19.57%)
Mutual labels:  progressbar
Vue Step Progress
A simple Vue component that displays a Progress Bar with labels for each step
Stars: ✭ 26 (-97.31%)
Mutual labels:  progressbar
Codeview Android
Display code with syntax highlighting ✨ in native way.
Stars: ✭ 748 (-22.57%)
Mutual labels:  custom-view
Imagelabelview
A view for data-labeling(a tool for machine learning).
Stars: ✭ 20 (-97.93%)
Mutual labels:  custom-view
React Circular Progressbar
A circular progressbar component, built with SVG and extensively customizable
Stars: ✭ 742 (-23.19%)
Mutual labels:  progressbar
Ringprogressbar
A material design circle the progress bar.
Stars: ✭ 789 (-18.32%)
Mutual labels:  progressbar
Roundprogresstextview
TextView with Round Pogress
Stars: ✭ 18 (-98.14%)
Mutual labels:  progressbar
Peppy Calendarview
Simple and fast Material Design calendar view for Android.
Stars: ✭ 30 (-96.89%)
Mutual labels:  custom-view
Githubcontributionsview
A library to show the map of contributions (Github)
Stars: ✭ 27 (-97.2%)
Mutual labels:  custom-view

HoloCircularProgressBar

What is HoloCircularProgressBar

HoloCircularProgressBar is a Custom View implementation for Android you might know from the Android Clock App from Android 4.1

Usage

Sample Project

You can see the ProgressBar working in the sample application. Just check out the library and create a new "Android Project form Existing Code"

Use it in your own Code

Add the View in your Layout

<com.pascalwelsch.holocircularprogressbar.HoloCircularProgressBar
    android:id="@+id/holoCircularProgressBar"
    android:layout_width="300dp"
    android:layout_height="300dp"/>

Style

Don't forget to add a default style to your AppTheme

<style name="AppTheme" parent="android:Theme.Holo">
    <item name="circularProgressBarStyle">@style/CircularProgressBar</item>
</style>

I added two simple styles @style/CircularProgressBar and @style/CircularProgressBarLight to give you a quick start. You can see both styles in action in the sample Project

After you wrote your own style you have to rebuild your project in Android Studio (or restart your Eclipse. The ADT Plugin really has some troubles working with Android Libraries and Styles).

Of cause can you change the color at runtime. Here are some examples from the sample app:

Errors

There might be some error from your IDE. Most of them are simply solved after building the project.

Got this error?

The following classes could not be instantiated:
- de.passsy.holocircularprogressbar.HoloCircularProgressBar (Open Class, Show Error Log)
See the Error Log (Window > Show View) for more details.
Tip: Use View.isInEditMode() in your custom views to skip code when shown in Eclipse

If your Layout Editor can't draw the view, you have to restart Eclipse. There is a bug in the ADT Plugin

Got the next error?

Missing styles. Is the correct theme chosen for this layout?
Use the Theme combo box above the layout to choose a different layout, or fix the theme style references.

Failed to find style 'circularProgressBarStyle' in current theme

You have to add a style for this View. see the Style section

Bugs

You found bugs? Report them or feel free to fix them by yourself and make a pull request. No one wants a buggy library

What's new (Changelog)

version 1.3 03.10.14
* new package name
* visible in `ScrollView`
* gradle and Android Studio support
version 1.2 22.05.14
* bugfixes for orientationchange
* layout bugs
version 1.1 12.10.13
* change color at runtime
* XML Attributes thumb_visible and marker_visible
* minSdkVersion decreased to 8 for the library
* avoid attr conflict with other library like HoloEverywhere
* fixed no animation from progress 0 to progress 1
* updated sample app with new test functions
version 1.0 10.03.13
* initial version of a holo themend circular progress bar 

License

Copyright 2013 Pascal Welsch

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Author: Pascal Welsch

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].