-
Notifications
You must be signed in to change notification settings - Fork 39
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
Error using ColorPicker #5
Comments
Oh. This issue sounds familiar to me ... |
And try to add this dependency: |
Hello Marc,
It worked Ok, with the Theme.MaterialComponents.DayNight.NoActionBar and the implementation 'com.google.android.material:material:1.1.0'
I'm making test for the color picker to see if I use it in my app.
Thanks for your quick response.
Javier E. Ramírez
On Tuesday, April 14, 2020, 04:13:42 PM GMT-5, Marc Auberer <notifications@github.com> wrote:
And try to add this dependency:
implementation 'com.google.android.material:material:1.1.0'
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I close the issue, but I think that in the documentation is necessary to take into account the components needed. |
duanhong169/ColorPicker#7 (comment) is solved Thanks |
How to set default progress bar CENTER on ANDROID programmatically final ProgressDialog progressDialog = new ProgressDialog(context); |
i have the same issue i tried to change theme to "Theme.MaterialComponents.DayNight.NoActionBar" and "implementation 'com.google.android.material:material:1.1.0'" and nothing still not working :( |
1 similar comment
i have the same issue i tried to change theme to "Theme.MaterialComponents.DayNight.NoActionBar" and "implementation 'com.google.android.material:material:1.1.0'" and nothing still not working :( |
Hello I was trying to use the ColorPicker, but when the app is running and the Dialog is opening the app crash with the following error:
E/AndroidRuntime: FATAL EXCEPTION: main
Process: xxxx.xxxxxx.xxxx.xxxx, PID: 4848
android.view.InflateException: Binary XML file line #20: Binary XML file line #20: Error inflating class com.google.android.material.card.MaterialCardView
Caused by: android.view.InflateException: Binary XML file line #20: Error inflating class com.google.android.material.card.MaterialCardView
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.newInstance0(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
at android.view.LayoutInflater.createView(LayoutInflater.java:647)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:790)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:730)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:863)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824)
at android.view.LayoutInflater.inflate(LayoutInflater.java:515)
at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
at android.view.LayoutInflater.inflate(LayoutInflater.java:374)
at com.github.dhaval2404.colorpicker.ColorPickerDialog.show(ColorPickerDialog.kt:202)
at com.github.dhaval2404.colorpicker.ColorPickerDialog$Builder.show(ColorPickerDialog.kt:186)
at com.mundocrativo.javier.twitter.ui.design.DesignFragment.showColorPicker(DesignFragment.kt:47)
at com.mundocrativo.javier.twitter.ui.design.DesignFragment$onCreateView$1.onClick(DesignFragment.kt:25)
It looks that there are a dependency that is not compatible. I´m opening a newproject in android studio and the only dependency that I use is this color picker.
I´m using Android Studio 3.5.
This is the dependencies in the gradle file:
The text was updated successfully, but these errors were encountered: