-
Notifications
You must be signed in to change notification settings - Fork 281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"java.lang.NumberFormatException: Invalid int:" on API 17 #6
Comments
Is this crash specific to this style, that using other styles won't cause any problem? Which version of this library are you using? The current stable is 1.1.3. In |
The error occurs in all styles and behaviors. The code a.getInt(styleable.MaterialProgressBar_android_tintMode, -1) is returning .0dip. In my project there is no occurrence of .0dip. Thank you! |
Did you specify an I just found that |
My component: I'm trying to test in the emulator (ARM API 17). |
I received this on Galaxy Nexus (4.3)
Using it like that <me.zhanghai.android.materialprogressbar.MaterialProgressBar
android:id="@+id/download_progressbar"
android:layout_width="150dp"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:max="100"
android:visibility="invisible"
android:indeterminate="false"
app:mpb_progressStyle="horizontal"
app:mpb_setBothDrawables="true"
style="@style/Widget.MaterialProgressBar.ProgressBar.Horizontal"/> |
i have the same problem on huaweri, android: 4.2.1
|
Can you verify if 7db62ac fixed this? |
Reproduced with sample app on API 17 (but not on API 15), fixed in commit 512ca0f, will be released soon. |
Released. |
Works great now. Tnx. |
Thank you! |
API 17
Style: Widget.MaterialProgressBar.ProgressBar.Horizontal.NoPadding
The text was updated successfully, but these errors were encountered: