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
Material style circular progress bar for Android

Material CircularProgressView Indeterminate Determinate Description This CircularProgressView is a (surprisingly) circular progress bar Android View t

Rahat Ahmed 760 Nov 30, 2022
Navigation Drawer Activity with material design style and simplified methods

MaterialNavigationDrawer Navigation Drawer Activity with material design style and simplified methods       It requires 10+ API and android support v7

Fabio Biola 1.6k Jan 5, 2023
Material style morphing play-pause drawable for Android

Play There is no need to explain what this thing does, just take a look at the gif below. Including in your project Add to your root build.gradle: all

Alexey Derbyshev 58 Jul 11, 2022
Material Shadows for android : A library for supporting convex material shadows

MaterialShadows A library for seamlessly integrating Material shadows. The library takes existing material shadows to next level by adding the followi

Harjot Singh Oberai 2.2k Dec 19, 2022
:hourglass_flowing_sand: An android progress view developed after taking inspiration from Uber app.

A simple progress animation developed after taking inspiration from the Uber app. Demo Download Add this to your root build.gradle file allprojects {

Ishan Khanna 286 Dec 23, 2022
:hourglass_flowing_sand: An android progress view developed after taking inspiration from Uber app.

A simple progress animation developed after taking inspiration from the Uber app. Demo Download Add this to your root build.gradle file allprojects {

Ishan Khanna 286 Dec 23, 2022
A library to bring fully animated Material Design components to pre-Lolipop Android.

Material MaterialLibrary is an Open Source Android library that back-port Material Design components to pre-Lolipop Android. MaterialLibrary's origina

Rey Pham 6k Dec 21, 2022
Material Design icons by Google

Material design icons Material design icons is the official icon set from Google. The icons are designed under the material design guidelines. 4.0.0 U

Google 47.1k Jan 9, 2023
Library containing over 2000 material vector icons that can be easily used as Drawable or as a standalone View.

Material Icon Library A library containing over 2000 material vector icons that can be easily used as Drawable, a standalone View or inside menu resou

null 2.3k Dec 16, 2022
The flexible, easy to use, all in one drawer library for your Android project. Now brand new with material 2 design.

MaterialDrawer ... the flexible, easy to use, all in one drawer library for your Android project. What's included ?? • Setup ??️ • Migration Guide ??

Mike Penz 11.6k Dec 27, 2022
A Material Design ViewPager easy to use library

MaterialViewPager Material Design ViewPager easy to use library Sample And have a look on a sample Youtube Video : Youtube Link Download In your modul

Florent CHAMPIGNY 8.2k Jan 1, 2023
Floating Action Button for Android based on Material Design specification

FloatingActionButton Yet another library for drawing Material Design promoted actions. Features Support for normal 56dp and mini 40dp buttons. Customi

Zendesk 6.4k Dec 26, 2022
EditText in Material Design

MaterialEditText NOTE: 2.0 is NOT BACKWARDS COMPATIBLE! See more on wiki or 中文看这里 AppCompat v21 makes it easy to use Material Design EditText in our a

Kai Zhu 6.1k Dec 30, 2022
Implementation of Ripple effect from Material Design for Android API 9+

RippleEffect ExpandableLayout provides an easy way to create a view called header with an expandable view. Both view are external layout to allow a ma

Robin Chutaux 4.9k Dec 30, 2022
Material Design implementation for Android 4.0+. Shadows, ripples, vectors, fonts, animations, widgets, rounded corners and more.

Carbon Material Design implementation for Android 4.0 and newer. This is not the exact copy of the Lollipop's API and features. It's a custom implemen

null 3k Jan 9, 2023
Material Design ProgressBar with consistent appearance

MaterialProgressBar Material Design ProgressBar with consistent appearance on Android 4.0+. Why MaterialProgressBar? Consistent appearance on Android

Hai Zhang 2.2k Dec 21, 2022
Android drawer icon with material design animation

LDrawer Android drawer icon with material design animation Note Basically same as appcompat_v7 version 21, you can use appcompat_v7 compile 'com.andro

Hasan Keklik 1.4k Dec 25, 2022
Custom Tabs with Material Design effects

MaterialTabs Custom Tabs with Material Design animations for pre-Lollipop devices       Download example apk It requires 14+ API and android support v

Fabio Biola 1.4k Dec 29, 2022
[] Android Library that implements Snackbars from Google's Material Design documentation.

DEPRECATED This lib is deprecated in favor of Google's Design Support Library which includes a Snackbar and is no longer being developed. Thanks for a

null 1.5k Dec 16, 2022