A material style progress wheel compatible with 2.3

Overview

![](https://img.shields.io/badge/Methods and size-106 | 12 KB-e91e63.svg)

Material-ish Progress

A material style progress wheel compatible with 2.3

Try the demo app on Google Play:

Get it on Google Play

I needed to keep a consistent (or as close as possible) look in an app across all Android Versions. The progress wheel is quite cool in Lollipop, and pretty horrible on Gingerbread.

So I created this. This view uses Progress Wheel as a base, but has been almost completely rewritten (the original view uses handlers for updating the wheel).

This implementation tries to follow as close as possible the guidelines for the circular progress as described here.

This is how it looks in indeterminate mode (the spinSpeed here is 0.64 which is the default, look below how to change it):

spinning wheel

And in determinate mode (here the spinSpeed is set to 0.333):

spinning wheel

You can also have a linear determinate progress mode if you don't like the animation.

Download

You can copy the ProgressWheel.java (in the library module) and the attrs.xml content into your project. Or you can get the binaries from Maven central by adding in your build.gradle dependencies:

compile 'com.pnikosis:materialish-progress:1.7'

Usage

You can create your own progress wheel in xml like this (remeber to add xmlns:wheel="http://schemas.android.com/apk/res-auto"):

<com.pnikosis.materialishprogress.ProgressWheel
        android:id="@+id/progress_wheel"
        android:layout_width="80dp"
        android:layout_height="80dp"
        android:layout_centerHorizontal="true"
        android:layout_centerVertical="true"
        wheel:matProg_barColor="#5588FF"
        wheel:matProg_progressIndeterminate="true" />

Or in code:

ProgressWheel wheel = new ProgressWheel(context);
wheel.setBarColor(Color.BLUE);
...

Callback

Use setCallback(ProgressCallback) to assign a callback that will be called each time the progress changes. This way you can update a value on the progress alongside with the progress animation, or execute an action once the progress reaches a certain value. in the indeterminatge wheel, the callback is called with a value of -1.0f every time the animation cycle finishes (when the wheel shrinks back to its smaller size).

Indeterminate wheel

For making the wheel indeterminate, just call the spin() method. If you set a progress value, the wheel will stop spinning.

You have two methods for setting the progress:

progressWheel.setProgress(float value)

Sets the value, and the wheel will smoothly animate to that value. The speed of the animation is defined by the spinSpeed (can be set with setSpinSpeed, which number is the number of full turns per second)

progressWheel.setInstantProgress(float value)

Sets the value, and the wheel will instantly move to that value.

You can change other wheel properties such as the progress bar color, the wheel's background or the wheel's size and width.

Fill radius

In case you want the spinning wheel to fill the whole layout instead of having a fixed size, you can use matProg_fillRadius.

<com.pnikosis.materialishprogress.ProgressWheel
        android:id="@+id/progress_wheel"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_centerHorizontal="true"
        android:layout_centerVertical="true"
        wheel:matProg_barColor="#5588FF"
        wheel:matProg_progressIndeterminate="true"
        wheel:matProg_fillRadius="true" />

This way, the wheel will be as big as the parent layout. Be warned though, if the parentlayout is not square, the wheel will become an oval since the wheel will always adapt to fill the parent view.

Other options

In the xml definition, besides the fillRadius property, you can set:

  • matProg_progressIndeterminate: boolean, if you want the wheel to spin right away.
  • matProg_barColor: color, sets the small bar's color (the spinning bar in the indeterminate wheel, or the progress bar)
  • matProg_barWidth: dimension, the width of the spinning bar
  • matProg_rimColor: color, the wheel's border color
  • matProg_rimWidth: dimension, the wheel's width (not the bar)
  • matProg_spinSpeed: float, the base speed for the bar in indeterminate mode, and the animation speed when setting a value on progress. The speed is in full turns per second, this means that if you set speed as 1.0, means that the bar will take one second to do a full turn.
  • matProg_barSpinCycleTime: integer, the time in milliseconds the indeterminate progress animation takes to complete (extending and shrinking the bar while spinning)
  • matProg_circleRadius: dimension, the radius of the progress wheel, it will be ignored if you set fillRadius to true
  • matProg_fillRadius: boolean, set to true if you want the progress wheel to fill the whole layout
  • matProg_linearProgress: boolean, set to true if you want a linear animation on the determinate progress (instead of the interpolated default one).

Versions

  • 1.0 Initial release
  • 1.1 The default speed is closer to the default progress wheel in Lollipop. Removed unused icons.
  • 1.2 Interpolated determinate progress, a new option to set a linear progress (which was the default before)
  • 1.3 Added a prefix to the attributes to avoid collisions, new callback called when the progress changes in the determinate wheel.
  • 1.4 Improved callback, now receives a value which is rounded to two decimals
  • 1.5 Callback is called with a value of -1.0f in the indeterminate wheel every time the animation cycle finishes, updated Gradle and support libraries
  • 1.7 Animations are disabled when the system preferences have disabled animations

License

Copyright 2014 Nico Hormazábal

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.
Comments
  • Working?

    Working?

    Hello

    Im trying to include this library in my project and there is no way a can compile it, it doesn't recognize R.stylable and all the other properties like

    R.styleable.ProgressWheel_matProg_fillRadius R.styleable.ProgressWheel_matProg_barWidth R.styleable.ProgressWheel_matProg_rimWidth

    Am i doing something wrong?

    opened by paul321 8
  • Wheel is slow or choppy after returning to activity

    Wheel is slow or choppy after returning to activity

    After returning to the activity from another activity or the launcher, I've noticed that the progress wheel becomes slow or choppy for a while, and then returns to normal. This is on a Nexus 5 running Lollipop.

    Is this something wrong with my code, or can you guys reproduce it as well?

    opened by lynnntropy 8
  • Prefix all attributes with something to avoid collisions

    Prefix all attributes with something to avoid collisions

    I am trying to use sweet alert dialog(which is dependent on this lib) with another library and on gradle compile, I receive following error. Error:Attribute "barColor" has already been defined

    Can you please prefix all attributes with name like matProg_ so that they never clash with any other names.

    opened by pankajbatra 6
  • Wheel not showing. Lacking documentation.

    Wheel not showing. Lacking documentation.

    I'm setting up the wheel programmatically like this:

    private ProgressWheel wheel; //global scope variable

    Within onPreExecute():

    wheel = new ProgressWheel(MainActivity.this); wheel.setBarColor(Color.BLUE); wheel.spin();

    Within onPostExecute():

    wheel.stopSpinning();

    Am I missing something? I didn't see a show() method when I was looking through ProgressWheel.java

    EDIT: The docs are lacking in terms of explanation of usage. Once I get this figured out, I'll send in a pull request with some changes.

    opened by MrCorporate 5
  • Library version 1.7 does not work with Android 6.0

    Library version 1.7 does not work with Android 6.0

    Hi.

    With Version 1.7 the ProgressWheel does not show in Android 6 devices, but it works properly with previous versions (Android 5,4…).

    But if I downgrade to previous release, version 1.5, ProgressWheel appears correctly with every Android version.

    So, the problem is that using version 1.7 of your library, ProgressWheel does not show with Android 6.

    I’ve used genymotion to test it: "PREVIEW: Google Nexus 5X -6.0.0 API 23-1080x1920"

    Thanks!

    opened by VictorAlbertos 4
  • Color issue!

    Color issue!

    I set the color from xml to blue but it's gives me a black wheel, also from code using wheel.setBarColor(Color.BLUE); but still black!

    Is there anyway to fix that?!

    opened by MuhamedFathy 4
  • Crash: android.os.BadParcelableException: ClassNotFoundException when unmarshalling: com.pnikosis.materialishprogress.ProgressWheel$WheelSavedState

    Crash: android.os.BadParcelableException: ClassNotFoundException when unmarshalling: com.pnikosis.materialishprogress.ProgressWheel$WheelSavedState

    Crash occurs when android kills application process and tries to restore the state. i have simulated this by changing my apps storage permission to on and off, then system kills my app (or check "Dont Keep Activities" from Developer Settings). After that i returned to app and it tries to restore the state and fails with exception:

    android.os.BadParcelableException: ClassNotFoundException when unmarshalling: com.pnikosis.materialishprogress.ProgressWheel$WheelSavedState
    
    opened by jemshit 3
  • jcenter and mavenCentral have different artifact for version 1.4

    jcenter and mavenCentral have different artifact for version 1.4

    Hi, thank you for good work!

    I encountered a strange issue. Version 1.4 of this library is different when using jcenter() repository and mavenCentral() repository. First repo contains version from January 22 where ProgressCallback uses double parameter, while second repo contains version from January 26 where ProgressCallback uses float parameter. So when you changing from one repo to the other project starts failing to compile.

    It may not be a big deal, but for unknown reasons my Jenkins installation loads artifacts from jcenter, while local machine uses maven central (which is specified in build.gradle).

    Could you please align versions in both repos? Or is it out of your control?

    opened by alexvasilkov 3
  • Gradle Build fails on v21\values.xml

    Gradle Build fails on v21\values.xml

    I've just downloaded your library but when I try to compile with Gradle it finish with a lot of errors (101 !)

    I think that it can't find parents of Material Style, since I'm deploying on sdk 19.

    Here Gradle Output:

    Information:Gradle tasks [:app:generateDebugSources, :app:generateDebugTestSources] :app:preBuild :app:preDebugBuild :app:checkDebugManifest :app:preReleaseBuild :app:prepareComAndroidSupportAppcompatV72100Library UP-TO-DATE :app:prepareComAndroidSupportSupportV42100Library UP-TO-DATE :app:prepareComGithubMrengineer13Snackbar040Library UP-TO-DATE :app:prepareComPnikosisMaterialishProgress10Library UP-TO-DATE :app:prepareDebugDependencies :app:compileDebugAidl UP-TO-DATE :app:compileDebugRenderscript UP-TO-DATE :app:generateDebugBuildConfig UP-TO-DATE :app:generateDebugAssets UP-TO-DATE :app:mergeDebugAssets UP-TO-DATE :app:generateDebugResValues UP-TO-DATE :app:generateDebugResources UP-TO-DATE :app:mergeDebugResources :app:processDebugManifest :app:processDebugResources D:\LAVORO\iSfa\trunk\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.0\res\values-v11\values.xml Error:(36, 21) No resource found that matches the given name: attr 'android:actionModeShareDrawable'. Error:(36, 21) No resource found that matches the given name: attr 'android:actionModeShareDrawable'. Error:(36, 21) No resource found that matches the given name: attr 'android:actionModeShareDrawable'. Error:(36, 21) No resource found that matches the given name: attr 'android:actionModeShareDrawable'. D:\LAVORO\iSfa\trunk\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.0\res\values-v14\values.xml Error:(9, 21) No resource found that matches the given name: attr 'android:actionModeShareDrawable'. Error:(9, 21) No resource found that matches the given name: attr 'android:actionModeShareDrawable'. Error:(9, 21) No resource found that matches the given name: attr 'android:actionModeShareDrawable'. Error:(9, 21) No resource found that matches the given name: attr 'android:actionModeShareDrawable'. D:\LAVORO\iSfa\trunk\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.0\res\values-v21\values.xml Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Body1'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Body2'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Button'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Caption'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display1'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display2'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display3'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display4'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Headline'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Inverse'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Large'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Large.Inverse'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Large'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Small'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Medium'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Medium.Inverse'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Menu'. Error:Error retrieving parent for item: No resource found that matches the given name '@android:TextAppearance.Material.SearchResult.Subtitle'. Error:Error retrieving parent for item: No resource found that matches the given name '@android:TextAppearance.Material.SearchResult.Title'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Small'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Small.Inverse'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Subhead'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Title'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Menu'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Subtitle'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Subtitle.Inverse'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Title'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Title.Inverse'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionMode.Subtitle'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionMode.Title'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Large'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Small'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Button'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Subtitle'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Title'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:ThemeOverlay.Material'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:ThemeOverlay.Material.ActionBar'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:ThemeOverlay.Material.Dark'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:ThemeOverlay.Material.Dark.ActionBar'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:ThemeOverlay.Material.Light'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionBar.TabText'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionBar.TabView'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.CloseMode'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.Overflow'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.AutoCompleteTextView'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.DropDownItem.Spinner'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.ActionBar.TabText'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.ActionBar.TabText'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.ActionBar.TabView'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.AutoCompleteTextView'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.PopupMenu'. Error:(298, 21) No resource found that matches the given name: attr 'android:overlapAnchor'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ListPopupWindow'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ListView.DropDown'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ListView'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.PopupMenu'. Error:(298, 21) No resource found that matches the given name: attr 'android:overlapAnchor'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ProgressBar'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ProgressBar.Horizontal'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Spinner'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Spinner'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Toolbar.Button.Navigation'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Material'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Material.Dialog'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Material.Light'. Error:Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Material.Light.Dialog'. Error:(144, 21) No resource found that matches the given name: attr 'android:colorAccent'. Error:(146, 21) No resource found that matches the given name: attr 'android:colorControlActivated'. Error:(147, 21) No resource found that matches the given name: attr 'android:colorControlHighlight'. Error:(145, 21) No resource found that matches the given name: attr 'android:colorControlNormal'. Error:(142, 21) No resource found that matches the given name: attr 'android:colorPrimary'. Error:(143, 21) No resource found that matches the given name: attr 'android:colorPrimaryDark'. Error:(144, 21) No resource found that matches the given name: attr 'android:colorAccent'. Error:(146, 21) No resource found that matches the given name: attr 'android:colorControlActivated'. Error:(147, 21) No resource found that matches the given name: attr 'android:colorControlHighlight'. Error:(145, 21) No resource found that matches the given name: attr 'android:colorControlNormal'. Error:(142, 21) No resource found that matches the given name: attr 'android:colorPrimary'. Error:(143, 21) No resource found that matches the given name: attr 'android:colorPrimaryDark'. Error:(144, 21) No resource found that matches the given name: attr 'android:colorAccent'. Error:(146, 21) No resource found that matches the given name: attr 'android:colorControlActivated'. Error:(147, 21) No resource found that matches the given name: attr 'android:colorControlHighlight'. Error:(145, 21) No resource found that matches the given name: attr 'android:colorControlNormal'. Error:(142, 21) No resource found that matches the given name: attr 'android:colorPrimary'. Error:(143, 21) No resource found that matches the given name: attr 'android:colorPrimaryDark'. Error:(144, 21) No resource found that matches the given name: attr 'android:colorAccent'. Error:(146, 21) No resource found that matches the given name: attr 'android:colorControlActivated'. Error:(147, 21) No resource found that matches the given name: attr 'android:colorControlHighlight'. Error:(145, 21) No resource found that matches the given name: attr 'android:colorControlNormal'. Error:(142, 21) No resource found that matches the given name: attr 'android:colorPrimary'. Error:(143, 21) No resource found that matches the given name: attr 'android:colorPrimaryDark'. Error:Execution failed for task ':app:processDebugResources'.

    com.android.ide.common.internal.LoggedErrorException: Failed to run command: C:\Users\Luca\sdk\build-tools\19.1.0\aapt.exe package -f --no-crunch -I C:\Users\Luca\sdk\platforms\android-19\android.jar -M D:\LAVORO\iSfa\trunk\app\build\intermediates\manifests\debug\AndroidManifest.xml -S D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug -A D:\LAVORO\iSfa\trunk\app\build\intermediates\assets\debug -m -J D:\LAVORO\iSfa\trunk\app\build\generated\source\r\debug -F D:\LAVORO\iSfa\trunk\app\build\intermediates\libs\app-debug.ap_ --debug-mode --custom-package it.gn.sfa -0 apk --output-text-symbols D:\LAVORO\iSfa\trunk\app\build\intermediates\symbols\debug Error Code: 1 Output: D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:9: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Body1'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:11: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Body2'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:13: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Button'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:15: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Caption'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:17: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display1'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:19: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display2'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:21: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display3'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:23: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display4'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:25: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Headline'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:27: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Inverse'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:29: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Large'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:31: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Large.Inverse'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:33: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Large'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:35: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Small'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:37: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Medium'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:39: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Medium.Inverse'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:41: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Menu'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:43: error: Error retrieving parent for item: No resource found that matches the given name '@android:TextAppearance.Material.SearchResult.Subtitle'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:45: error: Error retrieving parent for item: No resource found that matches the given name '@android:TextAppearance.Material.SearchResult.Title'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:47: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Small'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:49: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Small.Inverse'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:51: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Subhead'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:53: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Title'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:55: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Menu'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:57: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Subtitle'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:59: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Subtitle.Inverse'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:61: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Title'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:63: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Title.Inverse'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:65: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionMode.Subtitle'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:67: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionMode.Title'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:69: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Large'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:71: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Small'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:73: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Button'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:75: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Subtitle'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:77: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Title'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v11\values.xml:39: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v14\values.xml:12: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v11\values.xml:46: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v14\values.xml:20: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v11\values.xml:53: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v14\values.xml:28: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v11\values.xml:60: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v14\values.xml:36: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:87: error: Error retrieving parent for item: No resource found that matches the given name 'android:ThemeOverlay.Material'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:89: error: Error retrieving parent for item: No resource found that matches the given name 'android:ThemeOverlay.Material.ActionBar'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:93: error: Error retrieving parent for item: No resource found that matches the given name 'android:ThemeOverlay.Material.Dark'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:100: error: Error retrieving parent for item: No resource found that matches the given name 'android:ThemeOverlay.Material.Dark.ActionBar'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:108: error: Error retrieving parent for item: No resource found that matches the given name 'android:ThemeOverlay.Material.Light'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:267: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionBar.TabText'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:269: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionBar.TabView'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:271: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:273: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.CloseMode'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:275: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.Overflow'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:285: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.AutoCompleteTextView'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:287: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.DropDownItem.Spinner'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:289: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.ActionBar.TabText'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:291: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.ActionBar.TabText'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:293: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.ActionBar.TabView'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:295: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.AutoCompleteTextView'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:297: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.PopupMenu'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:301: error: Error: No resource found that matches the given name: attr 'android:overlapAnchor'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:304: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ListPopupWindow'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:306: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ListView.DropDown'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:308: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ListView'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:310: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.PopupMenu'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:314: error: Error: No resource found that matches the given name: attr 'android:overlapAnchor'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:317: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ProgressBar'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:319: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ProgressBar.Horizontal'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:321: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Spinner'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:323: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Spinner'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:329: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Toolbar.Button.Navigation'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:331: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Material'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:336: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Material.Dialog'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:341: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Material.Light'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:346: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Material.Light.Dialog'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:147: error: Error: No resource found that matches the given name: attr 'android:colorAccent'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:149: error: Error: No resource found that matches the given name: attr 'android:colorControlActivated'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:150: error: Error: No resource found that matches the given name: attr 'android:colorControlHighlight'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:148: error: Error: No resource found that matches the given name: attr 'android:colorControlNormal'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:145: error: Error: No resource found that matches the given name: attr 'android:colorPrimary'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:146: error: Error: No resource found that matches the given name: attr 'android:colorPrimaryDark'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:185: error: Error: No resource found that matches the given name: attr 'android:colorAccent'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:187: error: Error: No resource found that matches the given name: attr 'android:colorControlActivated'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:188: error: Error: No resource found that matches the given name: attr 'android:colorControlHighlight'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:186: error: Error: No resource found that matches the given name: attr 'android:colorControlNormal'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:183: error: Error: No resource found that matches the given name: attr 'android:colorPrimary'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:184: error: Error: No resource found that matches the given name: attr 'android:colorPrimaryDark'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:223: error: Error: No resource found that matches the given name: attr 'android:colorAccent'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:225: error: Error: No resource found that matches the given name: attr 'android:colorControlActivated'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:226: error: Error: No resource found that matches the given name: attr 'android:colorControlHighlight'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:224: error: Error: No resource found that matches the given name: attr 'android:colorControlNormal'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:221: error: Error: No resource found that matches the given name: attr 'android:colorPrimary'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:222: error: Error: No resource found that matches the given name: attr 'android:colorPrimaryDark'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:261: error: Error: No resource found that matches the given name: attr 'android:colorAccent'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:263: error: Error: No resource found that matches the given name: attr 'android:colorControlActivated'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:264: error: Error: No resource found that matches the given name: attr 'android:colorControlHighlight'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:262: error: Error: No resource found that matches the given name: attr 'android:colorControlNormal'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:259: error: Error: No resource found that matches the given name: attr 'android:colorPrimary'. D:\LAVORO\iSfa\trunk\app\build\intermediates\res\debug\values-v21\values.xml:260: error: Error: No resource found that matches the given name: attr 'android:colorPrimaryDark'. Information:BUILD FAILED Information:Total time: 40.624 secs Information:101 errors Information:0 warnings Information:See complete output in console

    I have to put sdk 21 as base sdk or I could deploy on 19 one?

    opened by Shadie6 3
  • apply from: '../maven_push.gradle' not exist

    apply from: '../maven_push.gradle' not exist

    Hello I downlaod you code zip , import my ide show : Error:(25, 0) Could not read script '/Users/zhouxuming/Downloads/materialish-progress-master/maven_push.gradle' as it does not exist. Open File

    opened by 13120241790 2
  • progress does not show in galaxy s5

    progress does not show in galaxy s5

    I implemented your library in my app and it is ok to most of devices except Samsung Galaxy s5 that runs android 4.2.2 or 5.0.0 i do not know what is the problem, please advice me.

    opened by Babak-gh 2
  • a little helping with READ.me

    a little helping with READ.me

    hi! I think your project is really great! I appreciate to create great open source project. as a IT university student, Thanks to your project, I'm getting to know a lot. while studying your project, I would like to be a little help to your project! I find a typo in your READ.me. 'Usage' subtitle, "you can create your own progress wheel in xml like this (remeber to add .....)" I find a typo "remeber". I think you made a mistake. I'd appreciate it if you could correct this typo. please reading my issue. I hope you will always be happy.

    opened by heywon0909 0
  • Spinning effect is not visible

    Spinning effect is not visible

    <com.pnikosis.materialishprogress.ProgressWheel android:id="@+id/progress_wheel" android:layout_width="90dp" android:layout_height="90dp" android:layout_centerInParent="true" wheel:matProg_progressIndeterminate="true" wheel:matProg_rimColor="#ff0000" />

    and in gradle compile 'com.pnikosis:materialish-progress:1.7'

    opened by ABhayBohra 2
Owner
Nico Hormazábal
Nico Hormazábal
Android loading or progress dialog widget library, provide efficient way to implement iOS like loading dialog and progress wheel

ACProgressLite English Version / 中文版本 An Android loading widget library. Lite and easy to use, strong customizability. Can be used to implement 'iOS'

Cloudist Technology Co., Ltd. 234 Nov 24, 2022
IOSProgressBar is a progress-bar lib for android. And the progress-bar looks like iOS system style

IOSProgressBar is a progress-bar lib for android. And the progress-bar looks like iOS system style

heyangyang 6 Aug 25, 2022
:barber: [Android Library] Stacked dual progress indicator progress-bar

StackedHorizontalProgressBar Specs Featured in Show some ❤️ Android library with ability to show two progress indicators in one horizontal progress ba

Nishant Srivastava 98 Nov 11, 2022
Material progress circle around any FloatingActionButton. 100% Guidelines.

FABProgressCircle Android library to provide a material progress circle around your FloatingActionButton. This component is compatible with any existe

Jorge Castillo 1.2k Nov 28, 2022
Progressbar with whorl style

WhorlView 一个加载View 预览 使用 step1 添加gradle配置 dependencies { compile 'com.tt:whorlviewlibrary:1.0.3' } step2 在xml中添加WhorlView <com.tt.whorlviewli

AndroidKy 409 Dec 3, 2022
Android library to display progress like google does in some of his services.

GoogleProgressBar This library is not maintained anymore and there will be no further releases Android library to display different kind of google rel

JPARDOGO 1.3k Dec 27, 2022
[Android] Round Corner Progress Bar Library for Android

RoundCornerProgressBar Round corner is cool. Let's make your progress bar to round corner Colorful progress bar with round corner on progress which yo

Akexorcist 2.3k Dec 31, 2022
Android fillable progress view working with SVG paths. This is a nice option too if you want to create an interesting branding logo for your app. Based on the iOS project: https://github.com/poolqf/FillableLoaders

Android FillableLoaders Android Open Source library providing an interesting fillable progress view working with SVG paths. This is a nice option too

Jorge Castillo 2k Jan 1, 2023
Android AlertDialog with moving dots progress indicator

Spots progress dialog Android AlertDialog with moving spots progress indicator packed as android library. =========== Usage The library available in m

Maksym Dybarskyi 1.1k Dec 26, 2022
This is beautiful color arc progress bar.

ColorArcProgressBar 中文版 This is a customizable circular progressbar.It can achieve the effect of the QQ health's arc progress with XML. What's more, w

PASSION 928 Dec 6, 2022
Present your progress bars in arc mode with information and total control.

ArcProgressStackView Present your progress bars in arc mode with information and total control. You can check the sample app here. Warn This library i

Basil Miller 249 Sep 10, 2022
A customizable, animated progress bar that features rounded corners. This Android library is designed to look great and be simple to use 🎉

RoundedProgressBar Easy, Beautiful, Customizeable The RoundedProgressBar library gives you a wide range of customizable options for making progress ba

null 541 Jan 1, 2023
Some beautiful android loading drawable, can be combined with any view as the LoadingView or the ProgressBar. Besides, some Drawable can customize the loading progress too.

LoadingDrawable: Android cool animation collection 前言 CircleRotate源码解析 Fish源码解析 LoadingDrawable is some android animations implement of drawable: a li

dinus_developer 4.1k Dec 27, 2022
[Android] Round Corner Progress Bar Library for Android

RoundCornerProgressBar Round corner is cool. Let's make your progress bar to round corner Colorful progress bar with round corner on progress which yo

Akexorcist 2.3k Jan 7, 2023
Completely customizable progress based loaders drawn using custom CGPaths written in Swift

FillableLoaders Completely customizable progress based loaders drawn using custom CGPaths written in Swift Waves Plain Spike Rounded Demo: Changelog:

Pol Quintana 2.1k Dec 31, 2022
A wave view of android,can be used as progress bar.

WaveView ![Gitter](https://badges.gitter.im/Join Chat.svg) A wave view of android,can be used as progress bar. Screenshot APK demo.apk What can be use

Kai Wang 1.3k Dec 28, 2022
Present your progress bars in arc mode with information and total control.

ArcProgressStackView Present your progress bars in arc mode with information and total control. You can check the sample app here. Warn This library i

Devlight 1.3k Nov 29, 2022
A circular android ProgressBar library which extends View, and the usage same as ProgressBar, It has solid,line and solid_line three styles. Besides, progress value can be freely customized.

CircleProgressBar 中文版文档 The CircleProgressBar extends View, It has both solid and line two styles. Besides, progress value can be freely customized. I

dinus_developer 1.2k Jan 3, 2023
DownloadProgressBar is an android library that delivers awesome custom progress bar. You can manipulate it's state in every way.

Download Progress Bar Android progress bar with cool animation, inspired by : https://dribbble.com/shots/2012292-Download-Animation ###Attributes Attr

Mariusz Brona 978 Nov 10, 2022