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

Added styling option to ColorPickerDialog #76

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

martawoldanska
Copy link

This MR fixes issues #38 and #73

@Abish-R
Copy link

Abish-R commented Sep 4, 2019

How to get this change in library to apply custom style to the ColorPickerDialog.

1 similar comment
@Abish-R
Copy link

Abish-R commented Sep 4, 2019

How to get this change in library to apply custom style to the ColorPickerDialog.

@martawoldanska
Copy link
Author

@Abish-R When creating your ColorPickerDialog use setDialogStyle method, for example:
val colorPicker = ColorPickerDialog.newBuilder()
.setDialogType(ColorPickerDialog.TYPE_CUSTOM)
.setAllowPresets(false)
.setColor(color)
.setDialogStyle(R.style.ColorPickerDialogStyle) // your own style
.create()

@Abish-R
Copy link

Abish-R commented Sep 5, 2019

@martawoldanska setDialogStyle is not available in the library 1.1.0. How to achieve this using the library

@martawoldanska
Copy link
Author

@Abish-R It's not yet merged, so you can't do it using the library. You can use our own release on jitpack: https://jitpack.io/#PolideaInternal/ColorPicker

@Abish-R
Copy link

Abish-R commented Sep 8, 2019

@martawoldanska, thanks for your quick responses. I am not well aware of publishing projects in jitpack. I downloaded the source code and added as project dependency. Waiting for your new publishing to achieve the same result using the library. Thanks a lot.

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

Successfully merging this pull request may close these issues.

None yet

2 participants