nico2sh / materialish-progress Goto Github PK
View Code? Open in Web Editor NEWA material style progress wheel compatible with 2.3
License: Apache License 2.0
A material style progress wheel compatible with 2.3
License: Apache License 2.0
Can we have the library in kotlin. I am facing some issues in conversion with
static class WheelSavedState extends BaseSavedState
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",
gradle 3.3 compile 'com.pnikosis:materialish-progress:1.7' error
When running the app in the foreground, and I lock my mobile,after a while the progress's rotation speed become very slow.
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.
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?!
Any plan to add, multicolored rim as can be seen in Google Inbox app?
How can I pass the color to change Once for dialog Rim to change color we have passed..?
<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'
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"
/>
app: rimWidth does not have any effect
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 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.
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!
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?
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 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
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?
is there anyway to show value inside the progress bar other than fill it radius
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?
Titanic
Hi,
Is it at all possible to add the ability to have a rounded bar?
Thanks :)
Add attribute/setter for Paint.Cap.ROUND for progress bar, because I have done it through reflection
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
Subj, where is it? ;)
Please remove the ic_launcher.png from the project it should not be in a library project and is colliding with my resources. This causes gradle to throw errors like "Duplicate file. drawable-xxhdpi-v4/ic_launcher.png: Original is here. The version qualifier may be implied." See comments here: http://stackoverflow.com/questions/29965398/gradle-finished-with-non-zero-exit-value-1-ic-launcher-png-error-duplicate-fi
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
Are you planning to upload this library to the jCenter? Thanks!
Hi,
if it is possible to add the percentage it will be nice.
thanks
Hi,
Do you have an idea how to set an elevation to the progress ?
Thanks.
Out of curiosity, why do you use "dimension" formats in attrs.xml for things like maxValue and spinSpeed (as opposed to say, integer or float). Is there are benefit to this that I'm not aware of? Or was it just an unintentional copy-paste thing?
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.
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).
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>
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?
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
Use case: countdown.
A smooth transition is expected, but it is not smooth.
Perhaps, in the onDraw method, when not spinning, the code says:
This kind of recalculation of mProgress is valid only when increasing from a lower value to a higher, not suited for countdown.
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.
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?
When I add a ProgressWheel in code with:
ProgressWheel loadingDialog = new ProgressWheel(context);
loadingDialog.spin()
nothing happens.
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!
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.
float distance = (float) Math.cos((timeStartGrowing / barSpinCycleTime + 1) * Math.PI) / 2 + 0.5f;
TKS firstly,Can you tell what does "distance" mean? What's the formula about "(timeStartGrowing / barSpinCycleTime + 1) * Math.PI"?
Do you hava any post about this library? I really can't understand this part. ...hope your reply.
TKS again.
I have a progress while for a value 60%. but the progress bar becomes fully colored after sometime i want the progress to stay at 60% how to do this?
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.