Skip to content
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

Theme.MaterialComponents error #29

Open
RaviRanjanSM opened this issue Jun 14, 2022 · 0 comments
Open

Theme.MaterialComponents error #29

RaviRanjanSM opened this issue Jun 14, 2022 · 0 comments

Comments

@RaviRanjanSM
Copy link

new ColorPickerDialog
.Builder(this)
.setTitle("Pick Theme")
.setColorShape(ColorShape.SQAURE)
.setDefaultColor(mDefaultColor)
.setColorListener(new ColorListener() {
@OverRide
public void onColorSelected(int color, https://github.com/NotNull String colorHex) {
// Handle Color Selection
}
})
.show();
showing error Caused by: java.lang.IllegalArgumentException: The style on this component requires your app theme to be Theme.MaterialComponents (or a descendant).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant