Comments (13)
Can you pls show me the CircularProgressDrawableStyle you used?
from material.
I just imported the library and copied this from your sample app.
Isn't it included in the library?
from material.
CircularProgressDrawableStyle
is the style defined in demo app. The lib has Material.Drawable.CircularProgress
style for circular progress drawable.
from material.
I see now. This is quite confusing IMO...
So how circular progress should be used then?
from material.
I tried removing the style completely hoping to get the default style but it still crashes.
from material.
You can set app:pv_progressStyle="@style/Material.Drawable.CircularProgress"
for default style.
In next version, I will fix progress view constructor to pass a default style in case you don't set it.
from material.
Maybe it's the late hour or something but I already tried that after your previous comment and it did not work.
Here's the code I have
<com.rey.material.widget.ProgressView
android:id="@+id/progress_wheel"
android:layout_width="@dimen/sign_width"
android:layout_height="@dimen/sign_height"
app:pv_autostart="true"
app:pv_circular="true"
app:cpd_strokeColor="@color/light_primary_color"
app:pv_progressStyle="@style/Material.Drawable.CircularProgress"
app:pv_progressMode="indeterminate"/>
from material.
In ProgressView constructor codes has that check progressStyleId > 0
(the correct should be progressStyleId != 0
). Maybe that cause the CircularProgressDrawable isn't created in your case. I will fixed it in next version.
from material.
Sounds good. I think you should use the default styles in the demo app which also serves kind of a test app as fas as I understand. Right now, you are not using the defaults and missing some issues such as in this case.
from material.
I have released new 1.1.0 version. Please check it.
from material.
Hey Rey,
I have
compile 'com.github.rey5137:material:1.+'
but when I sync up the project it does not pull the update lib for some reason. Did you publish it to jcenter/maven?
from material.
UPD: I manually set it up to 1.1.0 and then it did sync up. Weird... Any idea why that did not pick up the change with the 1.+ ?
from material.
The spinner does not show up now... at all...
I tried removing the style completely too (in case it interferes somehow) but it did not help.
from material.
Related Issues (20)
- Spinner and DatePicker causing crash when targeting app to targetSdkVersion 27 HOT 7
- Dialog on the mainActivity HOT 1
- findViewById in Dialog with ContentView from a xml
- Failed to resolve with version 1.2.5 HOT 3
- Crashing when creating a Dialog
- pink color on api 27 HOT 3
- ProgressView颜色·
- migrate to AndroidX HOT 1
- Cannot build 1.2.5
- After Cloning Library and Rebuilding showing some errors HOT 1
- i use recyclerview with checkbox radiobutton of your material widgets,and it has ui bug,but when i use android widgets such as radiobutton checkbox,it has no ui bug HOT 1
- WE NEED FORK! HOT 2
- Failed to resolve with version 1.3.0 HOT 3
- 整合包错
- 被选中字体放大
- ERROR: Failed to resolve: com.github.rey5137:material:1.3.0 HOT 21
- Redundant cast when using androidx
- my checkbox didn't coming ..
- e commerce
- Checkboc Issue
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 material.