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

Set button alongside to setOnFastChooseColorListener #30

Open
B8ightY opened this issue Oct 19, 2019 · 1 comment
Open

Set button alongside to setOnFastChooseColorListener #30

B8ightY opened this issue Oct 19, 2019 · 1 comment

Comments

@B8ightY
Copy link

B8ightY commented Oct 19, 2019

Is it possible to add button on dialog when using setOnFastChooseColorListener? Any tries ended unsuccessful. Thank you

@JuliusHenke
Copy link

I got this working by getting the buttons_layout view and changing the visibility to visible:
colorPicker.getDialogViewLayout().findViewById(R.id.buttons_layout).setVisibility(View.VISIBLE);

Improvement suggestion for OnFastChooseColorListener:
Only disable default buttons and keep buttons_layout view still visible to make custom OnButtonListener possible.

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

2 participants