Skip to content

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.

2 participants