Comments (8)
Try with
compile 'com.pnikosis:materialish-progress:1.3'
In your gradle file (not 1.2).
from materialish-progress.
Hey @pnikosis I have also tried to include your library in a brand new project, used the dependency, example XML and java lines from the README. Once I compile the layout is showing me that the wheel gets instantiated but the layout doesn't have anything inside it or is invisible.
It basically looks like that once I compile and run the app on my device. Just a blank space
from materialish-progress.
It is normal to see a blank space in the layout view. Probably I should put something in edit mode.
from materialish-progress.
The device also only displays a blank box, exactly as it displays on the layout editor. I can take a screenshot of the device for you.
from materialish-progress.
Sorry if it is a stupid question, but have you set the progress as indeterminate? (or set a progress value)
Also, what's the rIm width? and color? have you override them?
from materialish-progress.
Okay I made a little progress by reverting back to version 1.2. Version 1.3 is not recognizing the wheel: prefix and I am unable to style the wheel using XML only.
With 1.2 I can control the wheel both with XML (using the wheel prefix) and Java.
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:wheel="http://schemas.android.com/apk/res-auto"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
tools:context=".MainActivity">
<com.pnikosis.materialishprogress.ProgressWheel
android:id="@+id/progress_wheel"
android:layout_width="80dp"
android:layout_height="80dp"
wheel:barColor="#00ff00"
wheel:progressIndeterminate="true"/>
</RelativeLayout>
Again, the above XML works fine with 1.2 but not 1.3
from materialish-progress.
Alright I found the issue, I was using the example in the README which doesn't use the updated prefixes. Once I used the updated prefixes I no longer have an issue.
I opened a pull request to update the README
#15
Thanks for your awesome library!
from materialish-progress.
i m new in android . i want to use sweet alert dialog but i having error.when i try to sync.
"Unable to resolve dependency for ':library@debug/compileClasspath': Could not resolve com.pnikosis:materialish-progress:1.0.
Could not resolve com.pnikosis:materialish-progress:1.0.
Required by:
project :library
No cached version of com.pnikosis:materialish-progress:1.0 available for offline mode."
from materialish-progress.
Related Issues (20)
- [bug] reset Indeterminate wheel HOT 1
- NOSUCHMETHODERROR : setBackground
- Set elevation HOT 1
- Sm-g360t1 HOT 1
- Sm-g360t1 des bloquear de binario HOT 1
- How to reduce progress outer ring width HOT 2
- Progress rotation speed very slow after a while. HOT 1
- progress does not show in yuLong Coolpad8297-t01(Android4.4.4) HOT 1
- Crash: android.os.BadParcelableException: ClassNotFoundException when unmarshalling: com.pnikosis.materialishprogress.ProgressWheel$WheelSavedState HOT 3
- cant't understand "float distance =(float) Math.cos((timeStartGrowing / barSpinCycleTime + 1) * Math.PI) / 2 + 0.5f;"
- Add attribute/setter for Paint.Cap.ROUND for progress bar
- spin() does not work
- Error:No resource identifier found for attribute 'progressIndeterminate' in package ' HOT 2
- set value inside progressbar
- Spinning effect is not visible HOT 2
- a little helping with READ.me
- display the percentage in the middle of the circle
- 1531989
- Kotlin
- I am developing an OpenHarmony application with JavaScript language which used your library, will your library support OpenHarmony platform by JavaScript language? if so, I want to contribute to the OpenHarmony build of this library. Expecte foe your reply!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from materialish-progress.