Giter Site home page Giter Site logo

materialish-progress's People

Contributors

chrismcmine avatar fredpedersen avatar nico2sh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

materialish-progress's Issues

Kotlin

Can we have the library in kotlin. I am facing some issues in conversion with

static class WheelSavedState extends BaseSavedState

Attributes has already been defined

Hi there.
After connect your library to the project appeared the following errors:
Error:(1) Attribute "titleTextStyle" has already been defined
Error:(1) Attribute "subtitleTextStyle" has already been defined
Error:(1) Attribute "divider" has already been defined
Error:(1) Attribute "background" has already been defined
Error:(1) Attribute "backgroundSplit" has already been defined
...
Error:Execution failed for task ':****:processDebugResources'.

com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '...\android\android-sdk\build-tools\21.1.2\aapt.exe'' finished with non-zero exit value 1

How can I fix this?
P.S.: targetSdkVersion 21, buildToolsVersion "21.1.2",

ic_launcher icon

Why does this library ship with the default android ic_launcher icon. In our case this overrides our own icon and confuses users.

android studio

Is there any reason while the icon is included in the library.

Thank you for your great work and kind regards from Helsinki

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.

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?!

Multicolored Rim

Any plan to add, multicolored rim as can be seen in Google Inbox app?

Auto Change Rim Color

How can I pass the color to change Once for dialog Rim to change color we have passed..?

Correct progress

I'm trying to test your library, but by setting progress to 0.5f I get this result
screenshot_2015-05-25-13-30-35.

I could try to fix this to suit my needs, but I do not have the time right now. Thanks in advance

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'

ChangeWidth

As changing the width ProgressWheel?

                          <com.pnikosis.materialishprogress.ProgressWheel
                            android:id="@+id/progress_wheel"
                            android:layout_width="200dp"
                            android:layout_height="200dp"
                            android:layout_gravity="center_horizontal"
                            app:barColor="@color/colorPrimary"
                            app:progressIndeterminate="true"
                            />

has the same effect that is with 80dp

                          <com.pnikosis.materialishprogress.ProgressWheel
                            android:id="@+id/progress_wheel"
                            android:layout_width="80dp"
                            android:layout_height="80dp"
                            android:layout_gravity="center_horizontal"
                            app:barColor="@color/colorPrimary"
                            app:progressIndeterminate="true"
                            />

screenshot_2015-01-02-10-54-42

app: rimWidth does not have any effect

Create a drawable?

Image libraries such as Glide and Ion, let you set a drawable as a placeholder to occupy the image view until the image is downloaded. How can I go about using a materialish progress wheel for that? thanks!

spin() does not work

spin() does not work after I set at least once setInstantProgress(SOME_VALUE). If I do not call setInstantProgress at all spin works as intended. I used ProgressWheel along with "in.srain.cube:ultra-ptr:1.0.11". In pull to refresh (ptr) mentioned I use first linear progress. Right before ptr is going to be refreshed I turned off linear progress and start spin(). It does not work. I have tried to setProgress(0.0F) and setInstantProgress(0.0F) before calling spin(). It also does not help. I have tried to post spin() in Handler. No help as well.

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!

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?

[bug] reset Indeterminate wheel

Is there any way to reset indeterminate progress? When I used this code for stop spinning:

mProgressWheel.stopSpinning();

and after some time i try to used this:

mProgressWheel.spin();

it often start with some bar width in place of 0 bar length.

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

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?

NOSUCHMETHODERROR : setBackground

Hi,

I got an crash on the setbackgroumd for the ProgressWheel and it shows me that is nosuchmethoderror.

Fatal Exception: java.lang.NoSuchMethodError: com.pnikosis.materialishprogress.ProgressWheel.setBackground API 4.0.4

Is there any solution for that?

How to use this as a progress dialog

Hello,
I have a progress dialog as follow:
final ProgressDialog pd = ProgressDialog.show(this, "", "Loading...",true);

which I call it with :

if(pd!=null && pd.isShowing())
 {
    pd.dismiss();
}

how can I use materialish progress to replace the default progress dialog?
thanks

Request - Color Change

Hi Bro,
This is great lib that I've seen for progress bar.
Can u make it like Gmail application (color changes every time circle spin completes).

Sorry for my bad English.
ThnQ

Set elevation

Hi,

Do you have an idea how to set an elevation to the progress ?

Thanks.

Adding The Progress in Toolbar Menu

I have tried to add the progress in menu but using the xml in menu doesnot shows the progress there. Also no space is found there.

This is the refresh icon that need to be changed
menu1

But i get
menu2

Using the Xml doesnot give the desired output i wanted

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.

Internal padding?

HELLo,

I have one annoying problem. I want to draw your progress (blue progress with semitransparent green rim) on a RoundedImageView with own border (red).

internal_padding

I have 10dp border and as you can see I get there 5dp padding on a ProgressWheel. Setting android:padding="0dp" or android:layout_margin="0dp" doesn't change anything. Only after I set 5dp padding on to the RoundedImageView progress display in correctly place.
When i set border_width to 4dp then I have 2dp padding. Even after setting circleRadius="120dp" in place of fillRadius="true" issue still exist.

Of course in place of RoundedImageView it's can be simple ImageView with circle drawable but issue is still the same.

Simplified layout:

<FrameLayout
    android:layout_width="120dp"
    android:layout_height="120dp">

    <com.makeramen.roundedimageview.RoundedImageView
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:scaleType="centerCrop"
            android:src="@drawable/placeholder"
            app:riv_border_color="#f00"
            app:riv_border_width="@dimen/border_width"
            app:riv_oval="true"/>

    <com.pnikosis.materialishprogress.ProgressWheel
            style="@style/progress"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            app:matProg_barWidth="@dimen/border_width"
            app:matProg_barColor="#00f"
            app:matProg_rimWidth="@dimen/border_width"
            app:matProg_rimColor="#60f0"
            app:matProg_fillRadius="true"/>
</FrameLayout>

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?

No smooth transition when progress descreasing

Use case: countdown.

  • Not spinning
  • LinearProgress = true
  • The progress value is updatedUsing setProgress, and its value goes from 1f to 0f

A smooth transition is expected, but it is not smooth.

Perhaps, in the onDraw method, when not spinning, the code says:

  • mProgress = Math.min(mProgress + deltaNormalized, mTargetProgress);

This kind of recalculation of mProgress is valid only when increasing from a lower value to a higher, not suited for countdown.

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.

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?

Adding in code not working

When I add a ProgressWheel in code with:

ProgressWheel loadingDialog = new ProgressWheel(context);
loadingDialog.spin()

nothing happens.

v-21 theme for sample app

ActionBarActivity should be themed by AppCompat themes only. V-21 folder tries to apply Material theme in lollipop and crashes because of ActionBarActivity. Guess there is no need for a v-21 folder!

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.

StartActivity blocking UI and animation

Hi, I've a app with this library and I found some issues with UI, it's happens (the progress) before when the app start a new activity or another anything that use more processing, even within the asynchronous class.
Anyone can help me?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.